LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-28-2004, 06:42 PM   #1
holst
LQ Newbie
 
Registered: Nov 2002
Location: Stockholm
Posts: 28

Rep: Reputation: 15
umount problem (this time it's a weird one)


I have a "bind" mount from a place on my harddrive (from inside "/opt") to a "/stuff" directory. Now I want to unmount it but I am not allowed. This is what I get:
Code:
# sudo umount -f /stuff
umount2: Device or resource busy
umount: /opt/glftpd/site/stuff: not mounted
umount: /stuff: Illegal seek
umount2: Device or resource busy
umount: /stuff: device is busy

# sudo fuser -v -k /stuff

                     USER        PID ACCESS COMMAND
/stuff               root     kernel mount  /stuff
No automatic removal. Please use  umount /stuff
Any ideas how I can unmount w/o having to reboot my computer? Yes a reboot will work but I first want to know *WHY* I must reboot and my problem can't be solved in normal way (i..e close pid accessing /stuff dir and then umount...)

Last edited by holst; 08-28-2004 at 07:37 PM.
 
Old 08-28-2004, 06:50 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
What distro are you using, have you got FAM
or supermount or something silly like that going?


Cheers,
Tink
 
Old 08-28-2004, 07:06 PM   #3
holst
LQ Newbie
 
Registered: Nov 2002
Location: Stockholm
Posts: 28

Original Poster
Rep: Reputation: 15
I don't got supermount installed and as "FAM" goes I must ask.. what is that? :-)

My distribution is Gentoo w/ some "old-and-borked-but-it's-mine-and-i-like-it" patches -- no mount patches duh :-)
 
Old 08-28-2004, 07:09 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
FAM is a daemon that monitors file-access and
fill-status of partitions.


Cheers,
Tink
 
Old 08-28-2004, 07:11 PM   #5
holst
LQ Newbie
 
Registered: Nov 2002
Location: Stockholm
Posts: 28

Original Poster
Rep: Reputation: 15
Nope.. No FAM installed either then.
 
Old 08-28-2004, 07:48 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
How is it being mounted?
 
Old 08-28-2004, 08:17 PM   #7
holst
LQ Newbie
 
Registered: Nov 2002
Location: Stockholm
Posts: 28

Original Poster
Rep: Reputation: 15
From a Bash script that I execute after boot.
Code:
mount --bind /opt/glftpd/site/stuff /stuff
I *might* have used "rbind" instead of "bind" in the statement above since I know I have had rbind instead of bind in that script before. I don't know if I changed back to "bind" this time after boot or if it was earlier... It's been a while since the last reboot so I really can't say. (Should keep change-logs even for simple scripts i assume...) The switch between rbind and bind was for me not noticable so I reverted back to using just "bind".
Code:
# mount
...
/stuff on /opt/glftpd/site/stuff type none (rw,bind)
...

Last edited by holst; 08-28-2004 at 08:19 PM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount and umount problem salahuddin_66 Debian 3 05-03-2005 07:49 AM
umount problem on Mandrake 10 official simjii Mandriva 3 07-29-2004 09:20 PM
The proverbial umount problem 2Sleepy2 Linux - General 8 07-13-2004 05:35 PM
umount problem zaman Linux - Software 3 10-28-2003 05:45 AM
weird time problem jester_69 Linux - General 3 09-19-2002 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration