Is there a way in samba to create files greater then 2GB in size? I'm tarring some stuff to a samba share (from one linux server to another, share mounted using smbmount) and I get an error "File size limit exceeded" and the size of the file is 2147483647 bytes. Is there anyway to create files larger then 2GB on a samba mounted share? If so, how?
On Mon, 2003-11-24 at 12:53, Adam Williams wrote:> Is there a way in samba to create files greater then 2GB in size? I'm > tarring some stuff to a samba share (from one linux server to another, > share mounted using smbmount) and I get an error "File size limit > exceeded" and the size of the file is 2147483647 bytes. Is there anyway > to create files larger then 2GB on a samba mounted share? If so, how?Yes, You didn't give us enough info. First off, what versions of the Linux Kernel are on the 2 machines? Second, what version of Samba on each machine? Any setting in Samba that are designed for DOS Machines for those shares? As much pertinent info as possible would be good. -- greg, greg@gregfolkert.net REMEMBER ED CURRY! http://www.iwethey.org/ed_curry Woe is me, for I must forever more huddle, unminded, in the dark shadow of thine undeserved engine of procreation. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20031124/ec749ba5/attachment.bin
smbfs is part of the Linux kernel and not Samba, and may not support large files. The official answer to this question is "use smbclient". Personally, I find split to be a great way to manage tar files. Example. tar -cz data/ | split -b 1024m - /mnt/share/bckp/bckp.tar.gz. To untar the archive: cat /mnt/share/bckp/* | tar -xz On Mon, Nov 24, 2003 at 11:53:48AM -0600, Adam Williams wrote:> Is there a way in samba to create files greater then 2GB in size? I'm > tarring some stuff to a samba share (from one linux server to another, > share mounted using smbmount) and I get an error "File size limit > exceeded" and the size of the file is 2147483647 bytes. Is there anyway > to create files larger then 2GB on a samba mounted share? If so, how? > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
Adam Williams wrote:> Is there a way in samba to create files greater then 2GB in size? I'm > tarring some stuff to a samba share (from one linux server to another, > share mounted using smbmount) and I get an error "File size limit > exceeded" and the size of the file is 2147483647 bytes. Is there anyway > to create files larger then 2GB on a samba mounted share? If so, how? > >smbmount or mount -t smbfs do not support large files. I.e. > 2Gb files. I suggest that this is a bug in the linux kernel, and should be fixed there. Cheers James
James Courtier-Dutton wrote on Tuesday, 25 November 2003 8:27 a.m.:> I suggest that this is a bug in the linux kernel, and should be fixed > there.There seems to be some information about a patch for this issue here: http://www.ps.uni-sb.de/~errror/smbfs-lfs.html Cheers, Paul