[Samba] Newbie problem with smbmount & >2GB files

Urban Widmark urban at teststation.com
Wed Aug 14 08:42:00 GMT 2002


On Wed, 14 Aug 2002, Sear, Mick wrote:

> If I use smbmount and copy a file > 2GB in size, I get an error: "8720 File
> Size Limit Exceeded"
> 
> I'm using kernel 2.4.18 (smp) with Redhat 7.3.
> 
> Can anyone help me with this?

smbfs in the 2.4 kernels does not support files larger than 2G.

To get around that you will have to rebuild both samba and the kernel from
source. There are patches on this page:

http://www.hojdpunkten.ac.se/054/samba/

There is one that adds LFS to smbfs in 2.4.18, and one that makes smbmount
negotiate large files. You need both of them (plus the codepage patch for
2.4.18) and apply them to the respective source trees. Build & install and 
it should work.

There are some more details on the webpage.
For details on how to build kernels see the howto's on 
http://www.tldp.org/

/Urban




More information about the samba mailing list