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
posta un mese fa108 visualizzazioni
2 Risposte
3
Risposta accettata
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
ESPERTO
con risposta un mese fa
profile picture
ESPERTO
Artem
verificato 25 giorni fa
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
con risposta un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande