LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-29-2008, 03:06 PM   #1
gimpy530
Member
 
Registered: Oct 2007
Posts: 98

Rep: Reputation: 16
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)
 
Old 03-29-2008, 03:15 PM   #2
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
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.
 
Old 03-29-2008, 04:38 PM   #3
gimpy530
Member
 
Registered: Oct 2007
Posts: 98

Original Poster
Rep: Reputation: 16
Issue was resloved by using cifs instead of smbfs.....this is not limitation of Samba, but a limitation of smbfs
 
Old 03-29-2008, 04:56 PM   #4
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
Quote:
Originally Posted by gimpy530 View Post
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.
 
  


Reply



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
NFS issues: "File size limit exceeded" edenCC Linux - Server 3 03-04-2008 04:11 AM
"File size limit exceeded" during copy h3xis Linux - Networking 2 06-17-2006 01:24 PM
"File size limit exceeded" Thinking Programming 11 12-12-2005 02:28 AM
"File size limit exceeded " pulikondarajesh Red Hat 5 06-17-2004 08:06 AM
child pid xxxxx exit signal File size limit exceeded (25)" problem. bisbane Linux - General 1 10-31-2002 04:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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