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
feita há um mês108 visualizações
2 Respostas
3
Resposta aceita
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
ESPECIALISTA
respondido há um mês
profile picture
ESPECIALISTA
Artem
avaliado há 25 dias
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 há um mês

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas