• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

Force Umount if Busy

September 16, 2019

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.

Filed Under: Linux Tagged With: busy, device, force, lazy, umount, unable

Search This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023