SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699
Rep:
File too large - 5GB copied from ntfs to ext3
I have a 5GB file on an ntfs partition, and I want to copy it to an ext3 partition. When I do so, the file gets about 80% there and aborts with the message "file too large". I know this is not a file system limitation, as both file systems should easily hold a 5GB file. The file is on an ntfs partition on a WinXP box, and the ext3 partition is on a 160GB drive, ext3, on a Slackware 12.1 box. How can I get the file copied over?
I've mounted the ntfs partition via mount, and used cp as well as midnight commander - same failure. I've shared the partition via samba and tried the copy from the Windows box - same failure.
Smaller files copy just fine, I don't think it's a permission issue.
ext3 can, and does have a file size limit. It depends on the block size it was created with. Though doubt this would be the case As using 1KB block size results is a max file size of 16GB.
V3.5 of ReiserFS does have a 4GB file size limit, 3.6 is 8TB. XFS has a limit of 8EB, and JFS 4PB. NTFS is 16EB. Those are single file size limits.
Unless you're using ReiserFS 3.5, or did an ext3 format using a block size less than 1KB, I don't believe it's a file system issue.
Maybe check disk quota, fsck the drive, free space, or ulimit -a?
Also, are you mounting with CIFS? If not try that.
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699
Original Poster
Rep:
I'm not using ReiserFS, just plain ordinary ext3. There is about 100GB free on the partition. The partition is clean. I'll try cifs and report results later today.
ulimit -a gives me:
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
pending signals (-i) 4095
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 4095
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699
Original Poster
Rep:
Quote:
Originally Posted by disturbed1
<snip>
Also, are you mounting with CIFS? If not try that.
CIFS did the trick! I was using smbfs, and I'm thinking there is a limit to the filesize you can create with smbfs. I mounted it with -t cifs and it copied the 5GB file with no problem at all.
CIFS did the trick! I was using smbfs, and I'm thinking there is a limit to the filesize you can create with smbfs. I mounted it with -t cifs and it copied the 5GB file with no problem at all.
Good deal. I haven't used smbfs for so long, it almost skipped my mind about the bugs and limitations of it. 2.26.2 has it depreciated in the kernel. Hopefully they'll completely remove it soon as they did OSS.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.