Results 1 to 3 of 3

Thread: Input/output failure cloning to USB drive

  1. #1
    Junior Member
    Join Date
    Nov 2004
    Posts
    2

    Input/output failure cloning to USB drive

    I'm very much a Linux beginner.

    I'm also aware that there are an awful lot of queries posted regarding drive cloning. However, so far I have not found anything that helps with the following issue.

    I'm booting into the current version of Knoppix (3.6?). I'm attempting to clone a win98 se internal drive (boot) to an external Archos 20 Gigabyte hard drive. Drive capacities appear to be identical.

    Procedurally, I unmount both hard drives, and make the USB drive writeable in the GUI, shell out to console, log on as root (su + passwd), and use the dd command with if and of specified to point to the drives. Everything goes smoothly for the first ten minutes (I'm using USB 1.1 so this is not a speedy operation) then I get an input-output error message at the console and the operation terminates.

    If I boot back into Windows and look at the files, the root structure has been created, with all directories and files visible and apparently soundly copied and correctly named. However, if I look into some of the directories, though most are empty, some have cryptically named files and sub-directories (where none should exist). Clearly the cloning process has worked OK at root but I'm troubled by these nonce files.

    My questions are:

    1. Am I doing something stupid on the command line initially that's causing the termination? OR

    2. Are these errors (the input/ouput failure, the odd files and subdirectories likely simply a manifestation of a write failure?

    I should say that the drive communicates fine under Windows and I can (for example) do a full multi-hour system file-for-file backup using Dantz Retrospect. However, my backup preference is a bootable clone on the USB drive. This seems better done with Knoppix than any of the Windows utilities out there.

    One thing that occurred to me is that perhaps the drive capacities are not exactly equal (though they appear to be). If this is a potential issue, is there a workaround that copies simply files, not blank space (which, I believe, cloning also copies)?

    Ted.

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Not sure what's wrong there but I replaced my hda just yesterday by making a slightly larger ntfs partition on the new drive, plugged it in and while booted into live-cd used dd if=/dev/hda of=/dev/hdb and after 55 minutes it was done and the new disk then as hda worked just fine. Later on I added more partitions as the new disk is larger.
    Perhaps you have USB 1.1 and it can't write as fast as dd puts out? All in all it must take hours to finish.

    Procedurally, I unmount both hard drives, and make the USB drive writeable in the GUI
    I don't think you have to make it writable, certainly it shouldn't be mounted.
    I also dropped down to Ctrl-Alt-F2 and did init 3 to free some memory for the process.

    One thing that occurred to me is that perhaps the drive capacities are not exactly equal (though they appear to be). If this is a potential issue, is there a workaround that copies simply files, not blank space (which, I believe, cloning also copies)?
    The target needs to be at least as big as the source. dd copies bit by bit, if you want just files and not free space you need to use something else.

  3. #3
    Junior Member
    Join Date
    Nov 2004
    Posts
    2
    Thank you, Markus. There are several helpful suggestions in your letter. I am starting to think that the issue really is the equivalence of drive sizes. Maybe if I repartition the boot drive so it is smaller this might go more smoothly. The experiment may be worthwhile. However, I'll try freeing some more memory as you suggest in case this is a factor.

    Ted.

Similar Threads

  1. fread input/output error
    By mikesmith36 in forum General Support
    Replies: 6
    Last Post: 12-24-2005, 10:35 AM
  2. Input/output error
    By enlightened_j in forum General Support
    Replies: 6
    Last Post: 06-21-2005, 06:39 PM
  3. bash: /usr/bin/sudo: Input/output error
    By downdogWoof in forum General Support
    Replies: 4
    Last Post: 04-07-2005, 05:27 AM
  4. Input/Output Errors?
    By dark_mage in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 01-30-2005, 01:29 AM
  5. input output error during install
    By Penumbral in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 05-20-2004, 07:06 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
  •  


Hitachi  / HGST Travelstar HTS541010B7E610 1TB 2.5

Hitachi / HGST Travelstar HTS541010B7E610 1TB 2.5" SATA III HDD

$29.99



Seagate 14TB Exos X14 7200RPM SATA 6Gb/s 256MB 3.5

Seagate 14TB Exos X14 7200RPM SATA 6Gb/s 256MB 3.5" Enterprise HDD ST14000NM0408

$354.99



Seagate Exos X16 ST10000NM010G 10TB 7200RPM SAS 12Gb/s 3.5

Seagate Exos X16 ST10000NM010G 10TB 7200RPM SAS 12Gb/s 3.5" 512e/4Kn HDD

$199.00



SEAGATE ST4000LM024 4TB 2.5

SEAGATE ST4000LM024 4TB 2.5" SATA 5400RPM 128MB HDD LAPTOP HARD DRIVE

$169.00



Seagate ST6000NM0115 6TB 256MB 7200RPM 3.5

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

$159.99



Western Digital WD Blue WD10EZEX 1 TB 3.5

Western Digital WD Blue WD10EZEX 1 TB 3.5" SATA III Desktop Hard Drive

$23.99



Seagate Enterprise Capacity 2TB 2.5in SATA Internal HDD ST2000NX0403 picture

Seagate Enterprise Capacity 2TB 2.5in SATA Internal HDD ST2000NX0403

$60.00



HITACHI ULTRASTAR 2TB 7.2K 6G 3.5INCH SATA HDD HUS724020ALA640 | TESTED WIPED picture

HITACHI ULTRASTAR 2TB 7.2K 6G 3.5INCH SATA HDD HUS724020ALA640 | TESTED WIPED

$34.95



Western Digital WD Black 500GB WD5000LPLX 7200RPM 2.5” SATA HDD Lot of 3 Tested picture

Western Digital WD Black 500GB WD5000LPLX 7200RPM 2.5” SATA HDD Lot of 3 Tested

$49.50



Seagate BarraCuda ST1000DM010 1TB 7200 RPM 64MB Cache SATA 6.0Gb/s Hard Drive picture

Seagate BarraCuda ST1000DM010 1TB 7200 RPM 64MB Cache SATA 6.0Gb/s Hard Drive

$63.99