Recent Changes - Search:

Général

Sécurité

Windows

Linux

Systeme

Réseaux

XBMC

Liens

PmWiki

edit SideBar

SambaFileSizeLimitExceeded

http://it.toolbox.com/wiki/index.php/2_GB_File_Size_Limit_Issue

During the time of transfer file between two linux machines, if you get this error - its seems like 2 GB File size limited - The error show something like this :

"File size limit exceeded"

To resolve this issue on Linux first Make sure you are using the Samba Version 3.0+

Your server need to support LFS (Large File System).

Try this command.

  1. smbmount //remoteserver/backup /mnt/backup -o username=admin,lfs

Also check

  1. ulimit -a

and the result of the file size must of "file size (blocks, -f) unlimited"

If you see like this, then :

$ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) max locked memory (kbytes, -l) unlimited max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 stack size (kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes (-u) 4089 virtual memory (kbytes, -v) unlimited edit your /etc/security/limits.conf and make it unlimited and the result should be

$ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited max locked memory (kbytes, -l) unlimited max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 stack size (kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes (-u) 4089 virtual memory (kbytes, -v) unlimited Hope this information will be useful to resolve this issue.

Edit - History - Print - Recent Changes - Search
Page last modified on September 28, 2012, at 02:00 PM