I guess your source file is on NTFS, but the target fat FS has a file size limit of 2Gb. See here.
Hi,
I’m trying to rescue a couple of files from my dead (windows) PC using knoppix.
I’ve run into a problem trying to copy one file (huge ~ 23 Gb ) to my USB HDD (FAT;
2 partitions each~ 30Gb) – the “cp” has copied only 2 Gb of the target file; then I got error message “file limit has exceeded”;
but the “ulimit –f “ returns “unlimited”
Any ideas?
Thanks!
igor_m
I guess your source file is on NTFS, but the target fat FS has a file size limit of 2Gb. See here.
yes, you are right
Thnx!
igor_m
If you just want to keep the file temporarily on the USB drive you can split it
into smaller pieces, like this:
cd /the/usb/drive
split -b 1024m /full/path/to/huge_file
That should give you 24 (or 23) files called xaa xab xac xad...
Each of them 1G in size
To put them back on another drive you'd just do this:
cd /the/usb/drive
cat x?? > /full/path/to/new_copy_of_huge_file
Thanks!
Igor_m

RAM-HOL-SAM60CPU RAM USB-C Powered Dock for Samsung Tab Active5 - 3 - 2
$81.99
Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$60.00
New Samsung 512GB FIT Plus USB 3.2 Gen 1 Type-A Flash Drive MUF-512AB/AM NEW
$120.00
NEW Samsung NoteBook NT930QCG touch LCD Full Screen Assembly Blue
$225.77
RAM-GDS-SKIN-SAM54-NG-1 RAM Mounts IntelliSkin® Next Gen for Samsung Tab Active4
$93.99
RAM-HOL-SAM52CPU RAM USB-C Powered Dock Samsung Tab Active4 Pro & Tab Active Pro
$81.99
Cell Phone Smartphone Computer repair banner poster sign iphone Samsung
$89.99
RAM-GDS-DOCK-SAM88CPU RAM GDS® Tough-Dock™ for Samsung Tab A9+
$174.99
QTY 100 Samsung Galaxy Tab Active 4 Pro 10.1” Case, Black
$500.00
Samsung 24" S3 Essential IPS 100Hz Monitor | Sealed | Fast shipping
$50.00