View previous topic :: View next topic |
Author |
Message |
Jkay Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7750548363e50127c81e1b.png)
Joined: 31 Dec 2002 Posts: 214 Location: thatched-roof cottages
|
Posted: Thu Jul 20, 2006 7:15 am Post subject: If XP machine reboots while a Share is mounted ... |
|
|
... 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 |
|
![](templates/gentoo/images/spacer.gif) |
intgr Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/51574299842054c07a5b90.png)
Joined: 23 Jun 2004 Posts: 225 Location: Earth, Sol, Milky Way
|
Posted: Thu Jul 20, 2006 9:30 am Post subject: Re: If XP machine reboots while a Share is mounted ... |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
nobspangle Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/210249061640b0c1d626f5b.gif)
Joined: 23 Mar 2004 Posts: 1318 Location: Manchester, UK
|
Posted: Thu Jul 20, 2006 7:12 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Jkay Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7750548363e50127c81e1b.png)
Joined: 31 Dec 2002 Posts: 214 Location: thatched-roof cottages
|
Posted: Thu Jul 20, 2006 8:11 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
intgr Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/51574299842054c07a5b90.png)
Joined: 23 Jun 2004 Posts: 225 Location: Earth, Sol, Milky Way
|
Posted: Fri Jul 21, 2006 5:20 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|