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
preguntada hace un mes108 visualizaciones
2 Respuestas
3
Respuesta aceptada
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
EXPERTO
respondido hace un mes
profile picture
EXPERTO
Artem
revisado hace 24 días
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
respondido hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas