Syngin
05-09-2007, 10:28 AM
Hey guys,
I'm trying to get a mount point on an Etch box that is mounting an old AS/400 share to stay up but it keeps dropping after a couple of minutes. I'm using the following command for the mount:
smbmount //AS400/share /mnt/zeus -o username=me,password=mypassword,fmask=777
At first, the mount point is fine (I can access, read, write etc) but after a few minutes I get an Input/Output error and the following is in the syslog:
May 9 10:10:07 charlotte kernel: smb_add_request: request [ffff81000a26ee40, mid=77] timed out!
May 9 10:10:37 charlotte kernel: smb_add_request: request [ffff81000a26ee40, mid=78] timed out!
May 9 10:10:37 charlotte kernel: smb_lookup: find //customs.csv failed, error=-5
(This is when Apache tries to access a particular file on the share. If it trys accessing it within the first few minutes its mounted, things are fine though)
The annoying this is that this setup worked fine under Sarge.
Since it seems to be the kernel that is complaining in syslog, is there some kind of additional Samba module for the kernel I should be loading? This AS/400 is circa 1997 which is complicating matters infinitely.
Any thoughts would be appreciated on this issue.
Additional note: My kernel is 2.6.18-4-amd64
Update: Hmm, I just noticed that, with the WIndows shares mounted into this system, I didn't pass the fmask=777 directive. Could the Samba team have discontinued the use of this option (at least in the format I'm using it)?
I'm trying to get a mount point on an Etch box that is mounting an old AS/400 share to stay up but it keeps dropping after a couple of minutes. I'm using the following command for the mount:
smbmount //AS400/share /mnt/zeus -o username=me,password=mypassword,fmask=777
At first, the mount point is fine (I can access, read, write etc) but after a few minutes I get an Input/Output error and the following is in the syslog:
May 9 10:10:07 charlotte kernel: smb_add_request: request [ffff81000a26ee40, mid=77] timed out!
May 9 10:10:37 charlotte kernel: smb_add_request: request [ffff81000a26ee40, mid=78] timed out!
May 9 10:10:37 charlotte kernel: smb_lookup: find //customs.csv failed, error=-5
(This is when Apache tries to access a particular file on the share. If it trys accessing it within the first few minutes its mounted, things are fine though)
The annoying this is that this setup worked fine under Sarge.
Since it seems to be the kernel that is complaining in syslog, is there some kind of additional Samba module for the kernel I should be loading? This AS/400 is circa 1997 which is complicating matters infinitely.
Any thoughts would be appreciated on this issue.
Additional note: My kernel is 2.6.18-4-amd64
Update: Hmm, I just noticed that, with the WIndows shares mounted into this system, I didn't pass the fmask=777 directive. Could the Samba team have discontinued the use of this option (at least in the format I'm using it)?