[SATLUG] Stopping an external hard drive

Brian McKinney mckinneyb at gmail.com
Wed Sep 17 22:24:33 CDT 2008


On Wed, Sep 17, 2008 at 10:15 PM, Alan Lesmerises
<alesmerises at satx.rr.com> 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 ...
>


fuser will show you the PIDs of processes using a filesystem

fuser -m [NAME]


> Al Lesmerises
> --
> _______________________________________________
> SATLUG mailing list
> SATLUG at satlug.org
> http://alamo.satlug.org/mailman/listinfo/satlug to unsubscribe
> Powered by Rackspace (www.rackspace.com)
>



-- 
-Brian


More information about the SATLUG mailing list