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

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2
$75.99
Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004
$649.99
OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs
$87.99
Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD
$265.00
WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure
$119.99
Acasis USB 3.2 2 Bay HDD RAID Enclosure for 2.5/3.5" SATA Drives External Array
$55.00
MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00
$1619.19
Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV
$18.95
CalDigit VR minin 2 Portable Raid Storage On The Go
$75.00
EMC KTN-SL3 15-Bay Disk Array Enclosure w/2x 303-108-000E Cards, Dual PSU,No HDD
$239.99