LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Tar or Samba issue, "File size limit exceeded" (https://www.linuxquestions.org/questions/ubuntu-63/tar-or-samba-issue-file-size-limit-exceeded-631569/)

gimpy530 03-29-2008 03:06 PM

Tar or Samba issue, "File size limit exceeded"
 
OK, I am trying to make a large tar file and put it on my fileserver. I run the tar command to do that, it begins, then fails saying "File size limit exceeded (core dumped)". Checking my server, the Tar started to be made, and the file is 2,097,152KB, or 2GB.

Researching this another forum said to use ulimit to set some new limits, I did that and ti did not work. I found another site that said to check dmesg, and at the end of what it displays I do see something strange:

[ 7019.659859] SMB connection re-established (-5)
[ 8095.190220] smb_proc_readdir_long: error=-13, breaking
[ 8355.200345] smb_proc_readdir_long: error=-13, breaking
[ 8697.449955] smb_writepage_sync: failed write, wsize=4096, write_ret=-512

ulimit -a displays:

core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 20
file size (blocks, -f) unlimited
pending signals (-i) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) unlimited
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) unlimited
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited


So why is this failing at 2GB? How do I fix this?

Ubuntu 7.04 64bit
The share on my server is mounted locally with the filesystem smbfs (using the -t switch of the mount command)

rayfordj 03-29-2008 03:15 PM

It is a limitation of samba. I'm not sure off-hand if there is any setting modification that can be made to copy larger than 2GB.

gimpy530 03-29-2008 04:38 PM

Issue was resloved by using cifs instead of smbfs.....this is not limitation of Samba, but a limitation of smbfs

rayfordj 03-29-2008 04:56 PM

Quote:

Originally Posted by gimpy530 (Post 3104459)
Issue was resloved by using cifs instead of smbfs.....this is not limitation of Samba, but a limitation of smbfs

That's good to know. It's been a while since I last encountered it and CIFS was not an option then.


All times are GMT -5. The time now is 12:32 PM.