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
已提問 1 個月前檢視次數 108 次
2 個答案
3
已接受的答案
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
專家
已回答 1 個月前
profile picture
專家
Artem
已審閱 24 天前
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
已回答 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南