LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-20-2008, 12:05 PM   #1
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona
Distribution: Slackware 14.1
Posts: 342

Rep: Reputation: 27
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.
 
Old 08-20-2008, 01:59 PM   #2
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
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.
 
Old 08-20-2008, 02:08 PM   #3
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona
Distribution: Slackware 14.1
Posts: 342

Original Poster
Rep: Reputation: 27
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
 
Old 08-20-2008, 02:27 PM   #4
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona
Distribution: Slackware 14.1
Posts: 342

Original Poster
Rep: Reputation: 27
Smile

Quote:
Originally Posted by disturbed1 View Post
<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.
 
Old 08-20-2008, 02:34 PM   #5
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

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


Reply


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
[quick] trying to split a large file but linux says it's to large steve51184 Linux - General 16 05-06-2008 07:40 AM
Performance of ext3 file system with large files staham Red Hat 2 03-26-2007 07:06 AM
how to convert ext3 to ntfs? cannot even see ext3 partition parv Linux - Hardware 1 12-31-2004 02:56 PM
Large Files become Corrupt when copied to cd or usbpen drive shepper Linux - Hardware 4 11-08-2003 10:20 PM
Large tar file taking huge disk space in ext3 file system pcwulf Linux - General 2 10-20-2003 07:45 AM


All times are GMT -5. The time now is 01:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration