Copy errors over samba
Ever since I upgraded from Slackware 12 to 12.1 I've been receiving errors when copying files over a smbfs connection such at this:
cp /mnt/server02/testfile.data ~/testfile.data
cp: reading `/mnt/server02/testfile.data': Input/output error
Some data gets copied but it inevitably fails somewhere during the copy.
In /var/log/messages I noticed some additional errors:
Jul 8 09:17:45 lserver01 kernel: smb_proc_readX_data: offset is larger than SMB_READX_MAX_PAD or negative!
Jul 8 09:17:46 lserver01 kernel: smb_proc_readX_data: -59 > 64 || -59 < 0
Jul 8 09:18:15 lserver01 kernel: smb_add_request: request [cc3d7400, mid=7417] timed out!
Jul 8 09:33:41 lserver01 kernel: smb_proc_readX_data: offset is larger than SMB_READX_MAX_PAD or negative!
Jul 8 09:33:41 lserver01 kernel: smb_proc_readX_data: -59 > 64 || -59 < 0
Jul 8 09:34:11 lserver01 kernel: smb_add_request: request [ca73d900, mid=7412] timed out!
I haven't been able to track down a real fix but I was able to work around the problem by mounting the share with the file system type "cifs" instead of smbfs. I've never heard of cifs before this but it seems to work how I need it to, so I'll just leave it be.
Just wanted to post this somewhere in case other users are seeing this same problem or if anyone else has a better suggestion.
Thanks!
|