PDA

View Full Version : [SOLVED] "File too large" error copying files > 4.0 GB



alfu
November 12th, 2009, 08:16 PM
In trying to back up some large files (> 4.0 GB) to a USB HDD, I get this error at the 4.0 GB point:


"There was an error copying the file into /media/Dox.BAK
Show more details
Error writing to file: File too large"

The mainboard I am upgrading to has only one IDE port, so the two cable positions are filled -- I'm booting from the CDROM with 9.04 Live CD and trying to suck files off an older IDE HDD onto a modern USB SATA drive with plenty of space on it.

Anyone know if this is a Ubuntu file size limitation, or something else, and how to get around it?

Yes, it is formatted Fat32 to make it compatible with Mac OS9 and Win2000. I will see if formatting it NTFS instead will get around this, and post the result.

qamelian
November 12th, 2009, 08:21 PM
In trying to back up some large files (> 4.0 GB) to a USB HDD, I get this error at the 4.0 GB point:

"There was an error copying the file into /media/Dox.BAK
Show more details
Error writing to file: File too large"The mainboard I am upgrading to has only one IDE port, so the two cable positions are filled -- I'm booting from the CDROM with 9.04 Live CD and trying to suck files off an older IDE HDD onto a modern USB SATA drive with plenty of space on it.

Anyone know if this is a Ubuntu file size limitation, or something else, and how to get around it?
What filesystem is on the USB drive? If the drive is formated to fat32 for some reason, that will be the root of your problem as fat32 doesn't allow files larger than 4GB. The same limit may apply to some other filesystems as well.

scragar
November 12th, 2009, 08:21 PM
What file system is on the USB HDD?

sudo fdisk -l

XCan
November 12th, 2009, 09:22 PM
if the drive is formated to fat32 for some reason, that will be the root of your problem as fat32 doesn't allow files larger than 4gb. The same limit may apply to some other filesystems as well.

+1

CharlesA
November 12th, 2009, 09:33 PM
The drive is formatted FAT32.

oldfred
November 12th, 2009, 10:22 PM
NTFS and Fat info:
http://technet.microsoft.com/en-us/library/cc938932.aspx
http://technet.microsoft.com/en-us/library/cc940351.aspx

Phoronix comparison of Formats for USB Flash Drives
http://www.phoronix.com/scan.php?page=article&item=linux_usb_fs&num=1