LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 12-05-2007, 03:30 PM   #1
LQ Newbie
Registered: Oct 2005
Posts: 3

Rep: Reputation: 0
File Size Limit Exceeded error

I have a share from a windows 2003 (ntfs) server mounted via samba ( mount -t smbfs -o username=user // /bkup ) to a root directory of /bkup.

when I do a copy command (cp) on the Red Hat AS4 box to the mounted share the copy stops at 2 gig and I receive a 'File Size Limit Exceeded' error message. When I do an scp I get no error and the copy stops at 2 gig. When I run WinSCP from the windows server and copy the file from the Red Hat box directly to the windows box (via windows) there is no issue at 2 gig.

ulimit -a shows filesize is unlimited and limits.conf has no limits set.

Any ideas/suggestions appreciated!


Old 12-05-2007, 04:29 PM   #2
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
This is a known issue with smbfs, one should be using cifs instead;
mount -t cifs -o username=user // /bkup
Old 01-16-2008, 06:39 PM   #3
Registered: Jul 2007
Location: /home
Distribution: Debian
Posts: 37

Rep: Reputation: 15

I have the same problem. When I mount it like this:
mount -t smbfs -o uid=spf,gid=users,guest // /mnt/share
I cannot copy files to /mnt/share that are bigger than 2Gig.

However, when I use cifs I get the following error message:

# mount -t cifs -o uid=spf,gid=users,guest // /mnt/share
mount error 20 = Not a directory
Refer to the mount.cifs(8) manual page ( mount.cifs)
# file /mnt/share/
/mnt/share/: directory

Last edited by SPF; 01-17-2008 at 03:04 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Hep me---File size limit exceeded--error Ratheeshshenoy Linux - General 6 07-30-2007 06:47 AM
File size limit exceeded wfernley Linux - Software 5 07-21-2006 04:31 PM
File size limit exceeded XaViaR Linux - General 4 09-21-2005 11:02 PM
file size limit exceeded mchitrakar Linux - General 2 10-12-2004 01:47 PM
File size limit exceeded... Faeroon Linux - General 20 01-02-2003 07:57 PM

All times are GMT -5. The time now is 10:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration