LinuxQuestions.org
Visit Jeremy's Blog.
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 03-28-2004, 09:32 PM   #1
reyemarr
Member
 
Registered: Nov 2003
Location: Darwin, Australia
Distribution: Debian,Mandrake
Posts: 33

Rep: Reputation: 15
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
 
Old 03-29-2004, 01:09 AM   #2
stuNNed
Member
 
Registered: Aug 2003
Distribution: Gentoo/Ubuntu
Posts: 134

Rep: Reputation: 15
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.
 
Old 03-29-2004, 01:38 AM   #3
reyemarr
Member
 
Registered: Nov 2003
Location: Darwin, Australia
Distribution: Debian,Mandrake
Posts: 33

Original Poster
Rep: Reputation: 15
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
 
Old 03-29-2004, 01:54 AM   #4
stuNNed
Member
 
Registered: Aug 2003
Distribution: Gentoo/Ubuntu
Posts: 134

Rep: Reputation: 15
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**
 
Old 03-29-2004, 02:12 AM   #5
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
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.
 
Old 03-29-2004, 02:25 AM   #6
reyemarr
Member
 
Registered: Nov 2003
Location: Darwin, Australia
Distribution: Debian,Mandrake
Posts: 33

Original Poster
Rep: Reputation: 15
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
 
  


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
unable to connect to smb shares on linux RH9.0 cvc505 Linux - Newbie 5 05-06-2004 07:46 PM
SMB shares via Konqueror nrunge Linux - Software 1 01-28-2004 11:45 AM
SMB shares and fstab sfagundes Fedora 1 12-30-2003 11:47 AM
SMB shares to OS X MadTurki Linux - Networking 6 12-02-2003 06:59 PM
making smb shares viewable from smb client via web browser scottpioso General 3 11-10-2003 04:25 PM

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

All times are GMT -5. The time now is 10:39 PM.

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