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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-28-2004, 09:32 PM
|
#1
|
Member
Registered: Nov 2003
Location: Darwin, Australia
Distribution: Debian,Mandrake
Posts: 33
Rep:
|
Unable to unmount SMB shares
Hi guys,
This is the problem I'm having: when I try to unmount any of my samba shares, the system tells me I can't because the "device is busy". I ran fuser on the directory, and it tells me that famd is accessing the smb share.
What is fam/famd?
Do I need it??
Can I just kill it, and unmount the share?
Thanks
|
|
|
03-29-2004, 01:09 AM
|
#2
|
Member
Registered: Aug 2003
Distribution: Gentoo/Ubuntu
Posts: 134
Rep:
|
earlier version of fam can cause this, with Gentoo this had been fixed with /etc/init.d/famd instead of using /etc/init.d/fam
i had the same troubles that famd has seemed to fix, or later version of fam i'm guessing, the version i'm using is 2.7.0
fam stands for 'file altercation monitor' AFAIK, the homepage is: http://oss.sgi.com/projects/fam/
fam can basically speed up things in the GUI.
|
|
|
03-29-2004, 01:38 AM
|
#3
|
Member
Registered: Nov 2003
Location: Darwin, Australia
Distribution: Debian,Mandrake
Posts: 33
Original Poster
Rep:
|
I'm using debian unstable, and the fam version I have is 2.7.0-5. So, anybody knows how to fix this in debian???
Again thanks
|
|
|
03-29-2004, 01:54 AM
|
#4
|
Member
Registered: Aug 2003
Distribution: Gentoo/Ubuntu
Posts: 134
Rep:
|
here's the Gentoo famd init script and fam.conf, maybe use this instead of however else you start fam:
depend() {
need portmap
}
start() {
ebegin "Starting famd"
start-stop-daemon --start --quiet --exec /usr/sbin/famd --background \
-- -T 0 -c /etc/fam.conf
eend $?
}
stop() {
ebegin "Stopping famd"
start-stop-daemon --stop --quiet --exec /usr/sbin/famd
eend $?
}
here's the /etc/fam.conf:
insecure_compatibility = false
untrusted_user = nobody
local_only = false
xtab_verification = true
**comments are taken out for shorter length**
|
|
|
03-29-2004, 02:12 AM
|
#5
|
Senior Member
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607
Rep:
|
Yes, you can just kill it, if you want.
It's the file alteration monitor (little typo you had there, stuNNed), which is used so that your file manager will automatically refresh/update when you move, copy, delete files in a fm window without you having to manually hit the "refresh" button to see the update.
Seems that something is somehow misconfigured, though; I don't think that should be happening. But just killing it so you can unmount is a good temporary workaround until you get it fixed.
|
|
|
03-29-2004, 02:25 AM
|
#6
|
Member
Registered: Nov 2003
Location: Darwin, Australia
Distribution: Debian,Mandrake
Posts: 33
Original Poster
Rep:
|
I ended up doing "dpkg-reconfigure fam", and after that, I was able to unmount my samba shares. In any case, I don't know what triggers this behavior, but doing the above mentioned fixes the problem once it happens
Thanks all
|
|
|
All times are GMT -5. The time now is 09:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|