What to do when you receive the “mount unknown filesystem type efs” error? Read the article to learn more. As part of our AWS Support Services, Bobcares provides answers to all of your questions.
Solving “mount unknown filesystem type efs” Error
When trying to mount a device, the message “mount: unknown filesystem type ‘efs'” shows that the system is not able to find the filesystem type ‘efs’. Make sure that the correct filesystem module is set up and supported by the OS in order to fix this problem.
We must make sure that the EFS client package is set up on the system and that the filesystem is available and properly set up before we may mount an EFS filesystem. Also, confirm that the mount command and EFS parameters we are using are valid. Sometimes, while setting up the security group of EFS to accept NFS traffic from the EC2 security group, we may receive the following error:
We can consider the following fixes for the issue:
Solution 1: Sometimes, even though the documentation shows that the package should be included, it may not included in the Amazon Linux 2 AMI. On Amazon Linux and Amazon Linux 2 AMIs, the amzn-efs-utils package is preset. If we run which amzn-efs-utils, it returns no amzn-efs-utils installed.
Now, set up the amzn-efs-utils:
Solution 2: We can use the following codes:
Solution 3: The issue is with the missing “amazon-efs-utils” extension on EC2 instances created by Elastic Beanstalk. Fix the error by creating a file named efs.config inside .ebextensions folder:
Before uploading, zip both the Dockerrun.aws.json file and the .ebextensions folder. This will take care of the problem.
[Want to learn more? Click here to reach us.]
Conclusion
To sum up, our Tech team offer three different solutions in order to fix the “mount unknown filesystem type efs” error.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
0 Comments