LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-01-2006, 01:04 PM   #1
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Rep: Reputation: 30
cifs and 426 Sendfile error: Value too large for defined data type


When I recently upgraded to FC5, everything seemed to work except that I had to switch to using cifs instead of smbfs. Now, I'm having difficulty when trying to download using standard FTP.

My fstab line is as follows:
Code:
//ip.address/share$               /cifs/share                cifs   username="",password="",dir_mode=0777
This seems to work fine.

But I have my FTP jailed down to another directory to restrict further access, so this line is also in my fstab:

Code:
/cifs/share/download          /ftp/download      ext2    rw,bind 0 0
When I download any file that is "large" (more than 50 bytes), I get this error:
Code:
426 Sendfile error: Value too large for defined data type.
Is it becasue I am doing something wrong in my fstab? I tried to mount the cifs share as ext3 and reiserfs with the same results.

Please let me know what I am doing wrong.

Thanks!
 
Old 06-01-2006, 06:47 PM   #2
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
Did I stump you all?

I've been researching this for 2-3 months now with no luck. In that sense, I wish the kernel supported smbfs again.
 
Old 06-03-2006, 08:08 PM   #3
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
Bump for assistance!
 
Old 10-10-2006, 04:28 AM   #4
bornholme
LQ Newbie
 
Registered: Oct 2006
Distribution: FC
Posts: 1

Rep: Reputation: 0
I've experienced the same problem. help!
 
Old 01-14-2007, 12:47 PM   #5
agauthi
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
I have this same error can someone help? Im using clarkconnect distro which I think is using RH9
 
Old 04-10-2008, 05:59 AM   #6
pharmaka
LQ Newbie
 
Registered: Apr 2008
Posts: 1

Rep: Reputation: 0
hi!
don't know if you guys above still dealing with this problem..for 2 years

just got to that problem and found in the proftpd.conf:
Code:
# Be warned: use of this directive impacts CPU average load!
#
# Uncomment this if you like to see progress and transfer rate with ftpwho
# in downloads. That is not needed for uploads rates.
#UseSendFile                     off
i uncommented the entry and it works fine now.
the warning may be for something else coz i can't see any progress or transfer rate with ftpwho,nor has my average cpu load increased.

greez
 
  


Reply

Tags
cifs, fstab, ftp, samba, smbfs


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
kernel 2.6.16.1 + cifs = Send error in read elfoozo Debian 2 04-09-2006 10:26 PM
Used but not defined as type error ChemicalBurn Programming 2 05-24-2005 08:04 AM
large data trasfer problem mos definitely General 2 12-27-2004 05:23 PM
need help on processing large data files eph Programming 3 03-11-2004 04:56 AM
Large data files on CD dema Linux - Newbie 1 01-26-2002 10:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:45 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