There is a very handy utility that comes with most Linux distributions
called lsof(8) that will allow you to list all open files on a
filesystem and find out what process has them open.  If you can figure
out what is accessing the filesystem when the OS refuses to unmount
it, you can get in the habit or quitting or killing that application
before attempting a umount.

Cheers,

Brandon

On Sun, Sep 27, 2009 at 10:21 PM, John F. Eldredge <[email protected]> wrote:
>
> Don Delp wrote:
>> On Sun, Sep 27, 2009 at 9:12 PM, John F. Eldredge <[email protected]> 
>> wrote:
>>
>>> Can anyone tell me what step to use to make Ubuntu cleanly unmount the
>>> Storm's file systems, since telling it to unmount the drive (using the
>>> Thunar file manager application) results in an error message, saying
>>> that an error occurred when it tried to unmount the drive?  As I said
>>> earlier, this unmounting technique works fine if I have an actual thumb
>>> drive plugged into the laptop.
>>>
>> Maybe you've already tried this, but even so it might be helpful to
>> the next person that finds this message archived.
>>
>> Can you unmount it from command line and see if you get any output?
>> If you're not sure where it's mounted, check the file /etc/mtab and
>> look for it.  It's probably the last line of the file.  Then sudo
>> umount /path/device
>>
>> The only other thing I can think of is sometimes my wife's ipod
>> doesn't unmount correctly and the ipod manager doesn't remove the
>> special ipod lock file in this case, but that never causes a file
>> system error.  At worst, it stops me from managing the library until I
>> manually "unlock" the ipod with rm.
>>
>>
> Well, I experimented some more, and it is now properly unmounting the
> Blackberry's file systems from both the command line and the GUI.  So, I
> guess that I will have to wait until next time the GUI refuses to
> unmount the file systems, then try from the command line at that point
> and see what, if any, error messages I get.
>
> --
> John F. Eldredge -- [email protected]
> "Reserve your right to think, for even to think wrongly is better
> than not to think at all." -- Hypatia of Alexandria
>
>
> >
>



-- 
Brandon D. Valentine
http://www.brandonvalentine.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to