Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 20th November 2005, 04:04 PM
linmix's Avatar
linmix Offline
Registered User
 
Join Date: Jan 2005
Posts: 626
umount trouble

I need to work on a borrowed laptop for a few days and have Aurox 9.4 installed (based on fc2)

I needed to make a small change in fstab to view special characters in file names (added
'utf8') and wanted to check it worked. So I tried to umount the volume and got:
Code:
# umount /dev/hda1
umount: /mnt/windows/c: device is busy
Funny thing is I *can* umount a second windows partition that's mounted in the same way. So I tried
Code:
# /sbin/fuser -k /devhda1
But still get no result.

I checked if maybe it was something related to the symlinks present to hda1 and created a few to hda2, but hda2 umounts fine even with symlinks (though it improbable to be the cause, but hey, why discard anything when you can't find the cause).

Only shared files are accessed to the links (no apps located there) so I don't see how hda1 could be busy.

All nautilus windows are closed, nothing but a terminal window opened (in gnome). Funnier still, I've tried logging in as root into gnome and umount and I get the same 'busy' message.

How can I find out why hda1 is busy?

In addition, I cannot write to hda1 as normal user (using nautilus or gedit, e.g.) but Audacity *will* save files to hda1?! hda2 pesents me with no problems...

For the mortally curious among you, here are the corresponding fstab entries:
Code:
/dev/hda1               /mnt/windows/c          vfat    defaults,utf8,users,umask=0000  0 0
/dev/hda2               /mnt/windows/d          vfat    defaults,utf8,users,umask=0000  0 0
__________________
You can find out what book a person needs by asking the question, "Do you want to be a Muggle or a Wizard?"

(1) If they answer "Wizard", then you give them RUTE.
(2) If they answer "Muggle", then you give them "Linux for Dummies."
(3) If they answer "What's a Muggle?", then you give them "Harry Potter".
Reply With Quote
  #2  
Old 20th November 2005, 04:22 PM
SangFroid75 Offline
Registered User
 
Join Date: Jan 2005
Posts: 9
Try lsof (list open files):

Code:
lsof | grep /mnt/windows/c
Reply With Quote
  #3  
Old 20th November 2005, 06:21 PM
linmix's Avatar
linmix Offline
Registered User
 
Join Date: Jan 2005
Posts: 626
# lsof | grep /mnt/windows/c
fam 5383 root 19r DIR 3,1 16384 269 /mnt/windows/c/.Trash-root

at least that's what I get right after logging in. If I open nautilus and browse a folder on the c partition and close it again. +after closing+ I get:

# lsof | grep /mnt/windows/c
fam 5383 root 19r DIR 3,1 16384 269 /mnt/windows/c/.Trash-root
fam 5383 root 47r DIR 3,1 16384 6 /mnt/windows/c/Documents and Settings/Olga/Mis documentos/Mi m\xc3\xbasica

Now what! How do I stop these accesses and umount the partition?
__________________
You can find out what book a person needs by asking the question, "Do you want to be a Muggle or a Wizard?"

(1) If they answer "Wizard", then you give them RUTE.
(2) If they answer "Muggle", then you give them "Linux for Dummies."
(3) If they answer "What's a Muggle?", then you give them "Harry Potter".
Reply With Quote
  #4  
Old 20th November 2005, 09:59 PM
SangFroid75 Offline
Registered User
 
Join Date: Jan 2005
Posts: 9
try:

Code:
/etc/init.d/famd stop
prior to unmounting the partition.
Reply With Quote
  #5  
Old 21st November 2005, 12:32 AM
simonn Offline
Registered User
 
Join Date: May 2005
Location: Sydney, Australia
Age: 39
Posts: 217
Do you have a console window, a file manager etc with the current directory on the problematic drive open?
__________________
"Your attitude reminds me of a hairdresser who wonders why anybody took Einstein seriously with a haircut like that."
Reply With Quote
  #6  
Old 21st November 2005, 09:18 PM
linmix's Avatar
linmix Offline
Registered User
 
Join Date: Jan 2005
Posts: 626
nop, only thing open is a terminal at ~

Quote:
Originally Posted by SangFroid75
try:

Code:
/etc/init.d/famd stop
prior to unmounting the partition.
will try .. as soon as I get back.
__________________
You can find out what book a person needs by asking the question, "Do you want to be a Muggle or a Wizard?"

(1) If they answer "Wizard", then you give them RUTE.
(2) If they answer "Muggle", then you give them "Linux for Dummies."
(3) If they answer "What's a Muggle?", then you give them "Harry Potter".
Reply With Quote
  #7  
Old 21st November 2005, 10:04 PM
nightcrawler Offline
Registered User
 
Join Date: Feb 2005
Posts: 103
try
# /sbin/fuser -km /devhda1

You do not see all the process because you are missing the -m options
Reply With Quote
Reply

Tags
trouble, umount

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Umount not working sometimes Tux_in_Redhat Hardware & Laptops 2 19th March 2007 10:08 PM
USB - Mount and Umount ? Xavior Using Fedora 4 29th October 2006 06:21 PM
fc5 can't umount dvd after pkg selection dhav EOL (End Of Life) Versions 0 3rd April 2006 07:33 PM
umount problem salmankhilji Using Fedora 7 25th February 2005 04:39 AM


Current GMT-time: 16:52 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat