[CentOS] umount problem

Tue Oct 7 22:18:37 UTC 2014
John R Pierce <pierce at hogranch.com>

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...



-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast