Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home/Linux/Mount and Unmount EFS

February 1, 2019

Mount and Unmount EFS

Here’s the command to mount and unmount AWS EFS. Assuming the EFS IP address is 10.0.0.23.

Mount:

mount -t nfs -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport 10.0.0.23:/ /efs

mount -t nfs -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport 10.0.0.23:/ /efs

Umount:

# lazy unmount
umount -l /efs
# force unmount
umount -f /efs

# lazy unmount umount -l /efs # force unmount umount -f /efs

You may have to force it if it’s busy.

Filed Under: Linux Tagged With: efs, mount, umount

Content delivered to your email

About Me

I'm Ulysses, a Cloud Engineer at Cardinal Health based in Columbus, Ohio. I’m a certified AWS Solutions Architect. This website is my way of documenting the things I have learned in the Cloud. When off the grid, I enjoy riding my electric skateboard. I have surfed, snowboarded and played the saxophone in the past. I hope you will find this site helpful. It's powered by WordPress and hosted in AWS LightSail.

  • Cloud
  • Linux
  • Git

Copyright © 2012–2021