Bug 2085 - smbfs /smbmount input/output error
Summary: smbfs /smbmount input/output error
Status: REJECTED WILL_NOT_FIX
Alias: None
Product: File System
Classification: Unclassified
Component: Samba/SMB (show other bugs)
Hardware: i386 Linux
: P2 high
Assignee: Olaf Kirch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-12 12:25 UTC by Tony Caduto
Modified: 2007-03-12 07:53 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.2
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Tony Caduto 2004-02-12 12:25:46 UTC
Distribution:Gentoo 1.4 
Hardware Environment:Compaq DL380 
Software Environment: 
Problem Description:smbmount fails after 30 minutes or so. 
 
Steps to reproduce: 
Create a mount with smbfs similar to this: 
mount -t smbfs -o  
username=theusername,password=thepassword,dmask=777,fmask=777 //tr-mke-file01/shared /mnt/to 
 
Then let it sit for awhile, not sure of the interval, but usually when I come 
back to work the next day and run a app that writes to the mount it produces a 
input/output error. Then as long as you are using the connection it is fine, 
then after it sits it starts all over again.  This only started after I updated 
to 2.6.X and never happened on 2.4. 
Here is the kernel output from dmesg: 
 
SMB connection re-established (-5) 
smb_errno: class ERRSRV, code 91 from command 0x32 
smb_lookup: find //File Transfers failed, error=-5 
 
This is a problem as cron jobs that write to the mount fail for the first 
attempt, then manual intervention is required.
Comment 1 Gunnar Grimnes 2004-08-09 01:30:23 UTC
I get this too - initially it happened all the time, but after applying the
patch from bug 1671 it only happens after the computer has been on over night or
similar. ls on the mounted share dies after a while saying Input/output error,
and the system log is filled with: 

Aug  9 09:27:15 gromgull kernel: smb_add_request: request [c4305dc0, mid=48868]
timed out!
Aug  9 09:27:15 gromgull kernel: smb_lookup: find //PICS failed, error=-5

This is running samba 3.0.5-1 and self compiled kernel 2.6.7
Comment 2 Diego Calleja 2006-08-05 07:04:27 UTC
SMBFS is being deprecated, you should be using CIFS instead (see
http://lwn.net/Articles/183693/
Comment 3 Olaf Kirch 2007-03-12 07:52:01 UTC
Another bug related to smbfs, with no activity for 2.5 years.
Comment 4 Olaf Kirch 2007-03-12 07:53:19 UTC
Closing as WONTFIX

Note You need to log in before you can comment on or make changes to this bug.