• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

Mount and Unmount EFS

February 1, 2019

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

Search This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023