Bug 172753

Summary: Samba connection drops (I/O Error), does not automatically reconnect.
Product: [Fedora] Fedora Reporter: linux01
Component: kernelAssignee: Dave Jones <davej>
Status: CLOSED WORKSFORME QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: pfrields, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-12-17 07:24:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description linux01 2005-11-09 03:42:41 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

Description of problem:
Hi,

I am mounting a samba share from a Windows XP machine (by entering the smbfs in /etc/fstab). Mounting on boot (of the FC3 box) works fine, but if the Windows XP box is rebooted or goes down after that I receive an I/O error and the connection is not automatically restored. Rather, I have to do an smbumount then mount -a to restore the connection - then it works fine (until I reboot the Windows box again).

Is there a fix for this?

Thanks!

... Russell


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.As described above.
2.
3.
  

Additional info:

Comment 1 Jay Fenlason 2005-11-09 14:51:13 UTC
SMBFS is not Samba.  Smbfs is part of the Linux kernel.  I'm redirecting this 
to the correct maintainers. 
 
In the mean time, does it work better if you use the cifs kernel module 
instead of smbfs?  Just changing "smbfs" to "cifs" in your /etc/fstab might do 
it, although you should look at "man mount.cifs" and adjust your mount options 
appropriately. 

Comment 2 linux01 2005-12-16 22:01:58 UTC
CIFS works great, SMBFS does not. I am up and running now, but I think it would
still be worth fixing SMBFS.

Thanks!

Comment 3 Dave Jones 2005-12-17 07:24:29 UTC
probably isn't going to happen in fc3 due to it reaching end of life in just a
few weeks.   It's possible it's already fixed upstream, in which case fc4 will
have it fixed.

If it's not fixed upstream however, this is a bit awkward, as smbfs is
unmaintained upstream these days, (which is one of the reasons CIFS is gaining
in popularity).

In some future release, once the CIFS bugs are worked out, I'd like to be in a
position where we can drop SMBFS completely.

As CIFS works for you in FC3 I'm going to close this bug.
(Bugzilla lacks a ->WORKAROUND resolution, so I'll use 'WORKSFORME' as it's the
closest it has).

Thanks.