[SATLUG] Stopping an external hard drive

Geoff geofff at w5omr.shacknet.nu
Thu Sep 18 09:51:12 CDT 2008

Alan Lesmerises wrote:
> I have an external NTFS hard-drive mounted to my system (to transfer
> some files from a Windows system), and now that I want to unmount it,
> I get an error message saying the device is busy.  When I look at the
> running processes (ps -ef), I find nothing that refers to that device
> (sdc1) or the mount point (/mnt/usb_drive).
> How can stop whatever process is making the device busy or find out
> what process is accessing that device?  I really don't want to just
> disconnect it and risk corrupting something ...

You gotta be out of the directory that the drive is mounted to.

ie:  you told your system
'mount /path/to/device /path/to/mountpoint'

and you're sitting at /path/to/mountpoint/
you won't be able to umount the drive from it's mountpoint.

Kinda crude, but hope that helps.


More information about the SATLUG mailing list