Pham Quỳnh
New member
How do you unmount a device is busy in Linux?
Answer
If possible, let us locate/identify the busy process, kill that process and then unmount the samba share/ drive to minimize damage:
Answer
If possible, let us locate/identify the busy process, kill that process and then unmount the samba share/ drive to minimize damage:
- lsof | grep ‘<mountpoint of /dev/sda1>’ (or whatever the mounted device is)
- pkill target_process (kills busy proc. …
- umount /dev/sda1 (or whatever the mounted device is)