Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home/Archives for force

September 16, 2019

Force Umount if Busy

If device is busy and you can’t umount it, try it with -l option (lazy unmount). Or you can force it.

# standard
umount /mnt/data
# lazy umount
umount -l /mnt/data
# force
umount -f /mnt/data

# standard umount /mnt/data # lazy umount umount -l /mnt/data # force umount -f /mnt/data

Lazy unmount is safer since it will detach immediately and clean up all references to the file system. Force is a bit more drastic.

  • Cloud
  • Linux
  • Git

Copyright © 2012–2021