[CentOS] umount problem

Wed Oct 8 00:54:32 UTC 2014
Fred Smith <fredex at fcshome.stoneham.ma.us>

On Tue, Oct 07, 2014 at 07:37:25PM -0400, Fred Smith wrote:
> On Tue, Oct 07, 2014 at 06:46:17PM -0400, m.roth at 5-cent.us wrote:
> > Fred Smith wrote:
> > > On Tue, Oct 07, 2014 at 06:19:00PM -0400, m.roth at 5-cent.us wrote:
> > >> 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:
> > >> <snip>
> > >> It's under control of autofs. You can open the GUI file manager, and do
> > >> a safely remove/eject.
> > >>
> > >> Or you can stop autofs for a minute, and then umount it.
> > >
> > > actually, no I can't. if I right-click on seagateusb and click unmount, I
> > > get an error box saying "Unable to unmount seagateusb. Cannot unmount
> > > because file system on device is busy."
> > <snip>
> > Ok, try lsof /media/seagateusb - that may tell you what's holding it.
> > 
> > Did you try service autofs stop?
> 
> yes, made no difference.
> 
> another responder suggests it is journalling block device daemon/
> thread/whatever holding the device. looking into that as we speak

Got tired of fooling with it and did a "umount -l" which immediately
released the drive. probably left some jbd2 thread hanging loose, but
at this point I"m not too concerned.

thanks for the suggestions!

-- 
---- Fred Smith -- fredex at fcshome.stoneham.ma.us -----------------------------
               But God demonstrates his own love for us in this: 
                         While we were still sinners, 
                              Christ died for us.
------------------------------- Romans 5:8 (niv) ------------------------------