On Tue, Oct 07, 2014 at 03:18:37PM -0700, John R Pierce wrote:
On 10/7/2014 3:13 PM, Fred Smith wrote:
I've got a usb HD mounted, and it has been mounted since the weekend, and has been kept busy during that period.
now I"m done with it an want to umount it, but neither umount nor the on-screen icon (when right-clicked) will let me do it:
it is /dev/sdd1, mounted as /media/seagateusb. when root tries to umount it we get this:
# umount /media/seagateusb umount: /media/seagateusb: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1))
lsof | grep sdd1 gives this:
$ lsof | grep sdd1
jbd2/sdd1 26358 root cwd DIR 253,1 4096 2 / jbd2/sdd1 26358 root rtd DIR 253,1 4096 2 / jbd2/sdd1 26358 root txt unknown /proc/26358/exe
whats process 26358?
ps -fwp 26358
will show you this...
here's the result of your PS command, but I personally do not find it to be the least bit enlightening. perhaps you will...:
# ps -fwp 26358 UID PID PPID C STIME TTY TIME CMD root 26358 2 0 Oct04 ? 00:01:14 [jbd2/sdd1-8]