Klaus Ethgen
2002-Nov-29 16:13 UTC
[Samba] Version 2.2.6 and above are not able to store big files over 2GB
Hello, when I store a file biger than 2GB to a samba server version 2.2.5 everythink works fine. But when I do that with a server version 2.2.6 or 2.2.7 the saving fails on the 2GB limit. The problem can be seen with windowsclients or with smbclient (any version > 2.2.5). I did some debuging and find that the lseek64 fails. But I didn't find the reason. Regards Klaus Ethgen
Jim Morris
2002-Nov-29 17:27 UTC
[Samba] Version 2.2.6 and above are not able to store big files over 2GB
On Friday, November 29, 2002, at 10:09 AM, Klaus Ethgen wrote:> when I store a file biger than 2GB to a samba server version 2.2.5 > everythink works fine. But when I do that with a server version 2.2.6 > or > 2.2.7 the saving fails on the 2GB limit. The problem can be seen with > windowsclients or with smbclient (any version > 2.2.5). > > I did some debuging and find that the lseek64 fails. But I didn't find > the > reason.Is this on the same exact server, and on the same server filesystem? I ask, because on Linux at least, some of the native filesystem types still have a 2GB file size limit. My recent experience is that ext2 and ext3 still have a 2GB filesize limit by default. On the other hand, ReiserFS does not, since version 3.5.x. Just something to consider..... it may be a Samba bug, but if the lseek64() fails, it would seem to lie in the filesystem.... -- Jim Morris (Jim@Morris-World.com)
Klaus Ethgen
2002-Nov-29 17:44 UTC
[Samba] Version 2.2.6 and above are not able to store big files over 2GB
-----BEGIN PGP SIGNED MESSAGE----- Hello Jim, Am Fr, 29. Nov 2002 18:26 schrieb Jim Morris:> Is this on the same exact server, and on the same server filesystem? I > ask, because on Linux at least, some of the native filesystem types > still have a 2GB file size limit. My recent experience is that ext2 > and ext3 still have a 2GB filesize limit by default. On the other > hand, ReiserFS does not, since version 3.5.x.Yes, it is the same Filesystem. It is on Solaris8 and the largefilesupport is explicit enabled. As I noted, the version 2.2.5 was doing everythink well. But the version 2.2.6 has this problem and it is still in 2.2.7.> Just something to consider..... it may be a Samba bug, but if the > lseek64() fails, it would seem to lie in the filesystem....Well, thats the last what is done bevore the fail. I added some debuging informations because first I thougt, samba use not the lseek64 but the lseek call. Gruss Klaus - -- Klaus Ethgen IT Support Group (ISG) D-ITET ETH Z?rich +41-1-63-27731 * ethgen@ee.ethz.ch * http://people.ee.ethz.ch/~ethgen/ PGP 2048R/D1A4EDE5 D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (SunOS) iQEVAwUBPeenJ5+OKpjRpO3lAQFZ+wf9FwMeznvJe11oJS+4o4CIHF6bTHQa+agh rRqg5pttjZuYF2z72f1WVs7ATeoFeDRKWkKvMORRXDqEQ68RdUQfEKmqc6zQj3Ul j12Zv0IySU1c0O8EA9QQM7pP3PGSB7lA86ljVKrATFLaaI6JdG6DsopaQOaqkiYd K1a0h6GDE1J3sLJwa/WUHruP8fXmGUQDO6czZr6921Xcw/MLCDDKbotoGcGghPt7 Wy0fPCdmNBgsJ4IQTMh5M8Zt4VCaXpZsO6uHyOpnNn04iIFKylGi3WU3SSOV/Ylm nNMW16AfEse8lvkMPR26L03Eqgnr/B272Ch5WhcRhoi4b3ueI3HagA==Td9G -----END PGP SIGNATURE-----
jra@dp.samba.org
2002-Nov-29 18:15 UTC
[Samba] Version 2.2.6 and above are not able to store big files over 2GB
On Fri, Nov 29, 2002 at 05:09:41PM +0100, Klaus Ethgen wrote:> Hello, > > when I store a file biger than 2GB to a samba server version 2.2.5 > everythink works fine. But when I do that with a server version 2.2.6 or > 2.2.7 the saving fails on the 2GB limit. The problem can be seen with > windowsclients or with smbclient (any version > 2.2.5). > > I did some debuging and find that the lseek64 fails. But I didn't find the > reason.What is the errno ? Jeremy.
Klaus Ethgen
2002-Nov-29 19:05 UTC
[Samba] Version 2.2.6 and above are not able to store big files over 2GB
-----BEGIN PGP SIGNED MESSAGE----- addendum: The file will be 8192 byte bigger than 31 bit. (0x80002000) After that the seek will called next and fails. Regards Klaus - -- Klaus Ethgen IT Support Group (ISG) D-ITET ETH Z?rich +41-1-63-27731 * ethgen@ee.ethz.ch * http://people.ee.ethz.ch/~ethgen/ PGP 2048R/D1A4EDE5 D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (SunOS) iQEVAwUBPee6QZ+OKpjRpO3lAQED6Af/VwryCQ5H12dRF3ej8aRQK/u4gSQHnRDk 7xmmkQ3qyAIwg8/FDCVDsGBwBDNr69m+wYEYBRwDQtuhhs43gsOh5hdXrFvChDsP ncTenn/mrDVyoKeD08bD5QaSdaXCPZ+wobkwI13dTD9AVlmXKwIfjKTtXS9xIKyX qkXKM+D4qTvJ0AXm1R/1OuSIf28UAxYZA4zkQHIu2S8ZVInECG0sNkV5HrQZKQA8 RNLY+36BCvgoyCraR+ZboWHa/y3O0e76B7BB4qBIkKUTMFO6MJTXZWLal8+rPtSN L0Wzun8UnxIuqDLG33K0/ZwQ1UBKLtyAaWjexySVLCfTZkWVi+UzaA==/s9q -----END PGP SIGNATURE-----
Klaus Ethgen
2002-Nov-29 19:11 UTC
[Samba] Version 2.2.6 and above are not able to store big files over 2GB
-----BEGIN PGP SIGNED MESSAGE----- Hello, Am Fr, 29. Nov 2002 19:13 schrieb jra@dp.samba.org:> What is the errno ?The errno is 22 (EINVAL -- Invalid argument) and that exact when the seekvalue gets bigger than 31 bit. Regards Klaus - -- Klaus Ethgen IT Support Group (ISG) D-ITET ETH Z?rich +41-1-63-27731 * ethgen@ee.ethz.ch * http://people.ee.ethz.ch/~ethgen/ PGP 2048R/D1A4EDE5 D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (SunOS) iQEVAwUBPee7o5+OKpjRpO3lAQHDewf9H1/qf2xmBIAty8oXPOuXuWewCFj+eURW AntPTgjgNHvie7EK1NIq3nIQL9YJ0K1tJspEJqPdz8Qraxz10oRrBjsvmY+capJI jbqQeeMxlYnkmAwh2/LtiMuz8GZtMqjn49Le55v7komK3q9UklyLMsiqqKzbafVg 2S6SUjn9wYfvBJhdIgWAwkAgTUQXXySf4UWCvbCDtBmZ8XYKt5a5p1Cuu06gEM+W WclOvOSgX9xNX0MtRwcMmb1cNY3zk2vJieIa0xSjafUNPsBf2g4pRWnfPp1AA1/m W+/01ecmXrUb6KAo7TEOQRaq1rIhdDu+EoPGM7kFGNyUfTT7W+tzaQ==ksqb -----END PGP SIGNATURE-----
Buchan Milne
2002-Dec-04 15:15 UTC
[Samba] RE: Version 2.2.6 and above are not able to store big files over 2GB
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1> Message: 22 > From: Ken Walker <ken.walker@textiles.umist.ac.uk> > To: "'samba@lists.samba.org'" <samba@lists.samba.org>, > "'newbie@linux-mandrake.com'" <newbie@linux-mandrake.com>, > Expert Mandrake <expert@linux-mandrake.com> > Subject: RE: [Samba] RE: Version 2.2.6 and above are not able to store big > fil es over 2GB > Date: Tue, 3 Dec 2002 19:06:20 -0000 > > Here are my tests using a LM8.1 ( samba 2.2.2 ext2 ) and LM9 ( samba 2.2.7 > ext3) > > Using Tar to copy 8Gig comprising 5 folders and umpteen files. > > From to File system Max file size allowed Max file size system > > LM8.1 LM9 ext3 2Gig 4Gig > LM8.1 Win2000 ntfs 2Gig > 4Gig > LM8.1 Win98 fat32 2Gig > 4Gig > > Also tried using cp, as above, with a 4Gig file and it still bombed out at > 2Gig. >Yes, this is known ...> So it looks like if you want to copy a file out of or into a samba server > that's bigger than 2G. forget it.Incorrect conclusion, your problem is on the client side.> It doesn't even respect the target > operating systems max file size. >No, smbfs doesn't support files over 2GB.> > Any answers from the Samba Team ? >Maybe you should rather cc the cooker list (since you've basically got all the other Mandrake lists already) and ask them when they will merge the newer smbfs stuff, or you can patch your kernel, or maybe you want to build 2.5.x kernel from source and try that.> Mr Smiley ( stuck in a corner and basically buggered :o( )Samba on Mandrake should support files over 2GB out the box, but you're going to have to try from a windows box that supports large files (ie don't try and copy a 2GB+ file to fat32). Buchan - -- |--------------Another happy Mandrake Club member--------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE97hzzrJK6UGDSBKcRAnamAJ9tGTTCaE9Z+BrB7EKUwUuKuxR7pQCggRNh nfyf0bG7FKaQ07M+9ufyxEc=PKLl -----END PGP SIGNATURE-----