Results 1 to 3 of 3

Thread: Input/output failure cloning to USB drive

Hybrid View

  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
  •  


5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S... picture

5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...

$9.64



NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch picture

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch

$49.99



D-Link DGS-1210-28P 28-Port PoE Gigabit Web Smart Switch With Cord picture

D-Link DGS-1210-28P 28-Port PoE Gigabit Web Smart Switch With Cord

$49.99



Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch picture

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch

$46.99



TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch picture

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch

$19.99



10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W picture

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W

$39.99



TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern picture

TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern

$15.25



Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts picture

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts

$69.00



5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play picture

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play

$31.99



Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks picture

Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks

$224.95