How do I unmount a busy device?

Tam ca

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

Tìm kiếm

Back
Top