Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2011 08:33:15 -0800
From:      Robert <traveling08@cox.net>
To:        Chris Brennan <xaero@xaerolimit.net>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Unable to umount
Message-ID:  <20110312083315.5f452796@dell64>
In-Reply-To: <AANLkTinWrpyMSBNFSL-SUS23AsjVseNpt_biAcV4Bxnq@mail.gmail.com>
References:  <20110312080706.2d98afb6@dell64> <AANLkTinWrpyMSBNFSL-SUS23AsjVseNpt_biAcV4Bxnq@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 12 Mar 2011 11:26:00 -0500
Chris Brennan <xaero@xaerolimit.net> wrote:

> On Sat, Mar 12, 2011 at 11:07 AM, Robert <traveling08@cox.net> wrote:
> 
> Greetings
> >
> > On two separate systems running 8.2 Stable updated yesterday, I am
> > unable to umount any USB thumb drives after mounting. I have tried
> > both Fat32 and UFS formatted drives. I have tried with and without
> > HAL enabled.
> >
> > I am running with all ports up to date and the latest XFCE4. This
> > problem started with the upgrade of XFCE4 and Xorg. Here is how it
> > looks
> >
> > [robert@dell64] ~> mount_msdosfs /dev/da6s1 Flash
> > [robert@dell64] ~> ls -l Flash
> > total 128
> > drwxr-xr-x  1 robert  robert  32768 Jan 21 18:18 Android
> > drwxr-xr-x  1 robert  robert  32768 Jan  6  1980 LOST.DIR
> > drwxr-xr-x  1 robert  robert  32768 Jan 21 17:36 rosie_scroll
> > drwxr-xr-x  1 robert  robert  32768 Jan 21 16:53 rssreader
> > [robert@dell64] ~> umount Flash
> > umount: unmount of /home/robert/Flash failed: Device busy
> > [robert@dell64] ~> umount /dev/da6s1
> > umount: unmount of /home/robert/Flash failed: Device busy
> >
> > If I log out of XFCE4 to the CLI, I can then umount normally.
> >
> > Is anyone else seeing this?
> >
> > TIA
> >
> >
> Are you on the drive or do you have files open from the flash drive?
> Try this:
> 
> lsof /home/robert/Flash
> 
> or
> 
> lsof /dev/da6s1
> 
> It will tell you what files are using the device, you should close
> all files before unmounting as well as making sure your not
> in /home/robert/Flash/ or some subdir of ~/Flash.
> 
Chris

Thank you for the reply. As shown above, I mounted the drive and then
tried to umount the drive. I did not access it other than the "ls"
command.

[robert@dell64] ~> lsof Flash
[robert@dell64] ~> lsof /dev/da6s1
[robert@dell64] ~> 
[robert@dell64] ~> umount Flash
umount: unmount of /home/robert/Flash failed: Device busy
[robert@dell64] ~> umount /dev/da6s1
umount: unmount of /home/robert/Flash failed: Device busy
[robert@dell64] ~> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110312083315.5f452796>