Results 1 to 5 of 5

Thread: copying a large file

Hybrid View

  1. #1
    Junior Member
    Join Date
    Dec 2003
    Posts
    3

    copying a large file

    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

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    I guess your source file is on NTFS, but the target fat FS has a file size limit of 2Gb. See here.

  3. #3
    Junior Member
    Join Date
    Dec 2003
    Posts
    3

    thanks

    yes, you are right
    Thnx!
    igor_m

  4. #4
    Senior Member registered user
    Join Date
    Nov 2003
    Posts
    361
    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

  5. #5
    Junior Member
    Join Date
    Dec 2003
    Posts
    3
    Thanks!
    Igor_m

Similar Threads

  1. ISO file download vs copying ISO from CD
    By stevesr0 in forum General Support
    Replies: 6
    Last Post: 02-20-2005, 05:59 PM
  2. How to boot as Debian after copying file to harddisk
    By winglion in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 11-07-2004, 08:54 AM
  3. Problem copying file to an external HDD...(Urgent)
    By jch02140 in forum General Support
    Replies: 4
    Last Post: 06-18-2004, 03:14 PM
  4. Copying windows System file
    By TMcGrath in forum Tips and Tricks
    Replies: 0
    Last Post: 02-21-2004, 10:41 AM
  5. HDD install hangs at 1-2 percent of file copying
    By PuTzHeAd in forum Hdd Install / Debian / Apt
    Replies: 11
    Last Post: 06-28-2003, 07:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Western Digital WD140EDGZ 14 TB, Internal, 5400 RPM, 3.5 inch Hard Drive picture

Western Digital WD140EDGZ 14 TB, Internal, 5400 RPM, 3.5 inch Hard Drive

$99.00



HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5

HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5" HARD DRIVE ZERO HOURS

$52.00



Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5

Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5" (Low Power) Hard Drive -PC, CCTV DVR

$24.99



Hitachi 4TB 3.5

Hitachi 4TB 3.5" Hard Drive HUS724040ALE640 Ultrastar 7K4000 Internal 7.2K

$49.95



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$74.99



Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5

Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5" Enterprise Hard Drive

$99.99



1TB HDD/SSD 2.5

1TB HDD/SSD 2.5" SATA Hard Drive with Windows 10 or Windows 11 Pro Installed

$18.99



Seagate Exos X20 18TB SATA 6Gb/s 3.5

Seagate Exos X20 18TB SATA 6Gb/s 3.5" Enterprise Hard Drive - ST18000NM003D

$168.00



SAS - HGST Ultrastar 7K4000 HUS724040ALA640 0F14688 3.5

SAS - HGST Ultrastar 7K4000 HUS724040ALA640 0F14688 3.5" 4TB 7.2K RPM 64MB HDD

$19.99



Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5

Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5" Enterprise Hard Drive

$34.41