Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
If XP machine reboots while a Share is mounted ...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Jkay
Apprentice
Apprentice


Joined: 31 Dec 2002
Posts: 214
Location: thatched-roof cottages

PostPosted: Thu Jul 20, 2006 7:15 am    Post subject: If XP machine reboots while a Share is mounted ... Reply with quote

... Anytime the XP pro machine reboots, Samba on my Gentoo box flips out. It slows the Gentoo box to crawl, and the directory I had the XP shares mounted to vanish .. umount commands take forever to return "mount busy" and deny the unmounting.

I'm mounting the XP shares with:

Code:
# smbmount //sharehost/share /mnt/samba/localsharedir/ -o guest lfs workgroup=MYWORKGROUPNAME


I don't currently use the fstab to mount the share, since it can cause so much trouble. I do it manually from a superuser shell.

So I'm obviously doing something wrong, since Samba wouldn't be so popular if it sucked this badly for everyone.

Someone hand me a clue please.

tia
Back to top
View user's profile Send private message
intgr
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 225
Location: Earth, Sol, Milky Way

PostPosted: Thu Jul 20, 2006 9:30 am    Post subject: Re: If XP machine reboots while a Share is mounted ... Reply with quote

Jkay wrote:
I'm mounting the XP shares with:
Code:
# smbmount //sharehost/share /mnt/samba/localsharedir/ -o guest lfs workgroup=MYWORKGROUPNAME

The smbfs driver has been deprecated in favor of the new cifs ("Common Internet Filesystem") driver that should be superior in almost every aspect, probably including proper fault tolerance/handling. I've been using it ever since I started using Gentoo and haven't had any problems, you should give it a shot.

Also note that if you're going to use the share for longer periods of time, WINS is known to be dodgy so you might want to specify the IP address directly (eg, mount //10.0.0.7/share instead of //hostname/share).

By the way, if you want to specify several mount options you have to separate them by commas, not spaces.

Jkay wrote:
So I'm obviously doing something wrong, since Samba wouldn't be so popular if it sucked this badly for everyone.

Please note that smbfs has nothing to do with Samba - it's a completely separate project that just happens to implement the same protocol (and probably shares a small amount of code). Samba is the server-side implementation of the SMB/CIFS protocol.
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Thu Jul 20, 2006 7:12 pm    Post subject: Reply with quote

smbfs has everything to do with samba, try mounting cifs or smb shares without having Samba installed, you won't get very far.
Back to top
View user's profile Send private message
Jkay
Apprentice
Apprentice


Joined: 31 Dec 2002
Posts: 214
Location: thatched-roof cottages

PostPosted: Thu Jul 20, 2006 8:11 pm    Post subject: Reply with quote

Quote:
The smbfs driver has been deprecated in favor of the new cifs ("Common Internet Filesystem") driver that should be superior in almost every aspect, probably including proper fault tolerance/handling. I've been using it ever since I started using Gentoo and haven't had any problems, you should give it a shot.


Ok .. is this a flag for the smbmount command, or an entirely different command? A portage search for "cifs" came up empty except for a cifs java library.
Back to top
View user's profile Send private message
intgr
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 225
Location: Earth, Sol, Milky Way

PostPosted: Fri Jul 21, 2006 5:20 am    Post subject: Reply with quote

Jkay wrote:
Ok .. is this a flag for the smbmount command, or an entirely different command?

It's a separate filesystem. See man mount.cifs
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum