LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-08-2008, 10:20 AM   #1
kungfo0
LQ Newbie
 
Registered: Jul 2008
Location: Wichita, KS
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
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!
 
Old 07-10-2008, 12:59 AM   #2
Anithen
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Slackware 12, Slackware 12.1, Slackware 12.2
Posts: 105

Rep: Reputation: 15
I had a similar problem after upgrading everything to the latest samba. Newer samba uses cifs. I had to recompile my kernel for cifs on some of the older computers, and now I have to use the mount.cifs utility that come with the newer samba versions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
force copy through read errors quikphysik Linux - Hardware 1 01-06-2007 05:37 AM
copy files from samba venki Linux - Networking 1 10-27-2006 08:01 AM
samba copy error metallica1973 Linux - Software 4 06-17-2006 07:49 PM
Samba XP copy/paste scotta Linux - Networking 0 06-15-2004 02:50 AM
Samba copy Problem!!! banana2 Linux - Software 6 03-29-2003 09:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration