EFS Mount File System as Subdirectory

0

Hello,

As I have been going through the SkillBuilder course I came to a section that introduced a solution for a workload that needs low latency but high IOPS; the answer to this solution was.

*Another consideration is for a workload that requires both lower latency and a higher number of file system operations per second. AWS recommends that you use General Purpose performance mode and multiple file systems to segment your performance requirements. You can mount your separate file systems as subdirectories. With multiple file systems, you can spread the workload across all the file systems. *

My question is how do we implement this in practice, I couldn't seem to find much information on that topic.

Thanks in advance for any answers.

profile picture
Julian
demandé il y a un mois108 vues
2 réponses
3
Réponse acceptée
sudo mkdir -p /mnt/efs/fs1
sudo mkdir -p /mnt/efs/fs2
sudo mount -t nfs -o vers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2 <file-system-id>.efs.<region>.amazonaws.com:/ /mnt/efs/fs1
sudo mount -t nfs -o vers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2 <file-system-id-2>.efs.<region>.amazonaws.com:/ /mnt/efs/fs2
profile picture
EXPERT
répondu il y a un mois
profile picture
EXPERT
Artem
vérifié il y a 25 jours
0

Thank you for your answer Oleskii,

As I can see from the commands which you have provided we are mounting different EFS file systems to the client itself. I thought the text I was providing meant to add an EFS file system in an EFS file system.

However thanks for the clarification.

profile picture
Julian
répondu il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions