[CentOS] umount problem

Tue Oct 7 22:46:17 UTC 2014
m.roth at 5-cent.us <m.roth at 5-cent.us>

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?

      mark