Results 1 to 9 of 9

Thread: 7 days to clone 250GB HDD - What am I doing wrong?

  1. #1
    Junior Member
    Join Date
    Mar 2005
    Posts
    4

    7 days to clone 250GB HDD - What am I doing wrong?

    Warning: Linux NEWBIE

    I am attempting to clone my damaged external HDD (USB 2.0) to a new identical exernal HDD (USB 2.0) - both are 250Gb Maxtor ATA/133 7200RPM.

    I started Knoppix CD Live in my laptop (Thinkpad P4M 2 Ghz). I switched to an X-Windows session and from the root@tty1[/]$ prompt I used the following command:

    dd if=/dev/sdb of=/dev/sdc conv=noerror,sync bs=8k

    The transfer rate was approximately 1.4Gb/Hr (The actual listed transfer rate was 368k/s). That is about 7.5 days to clone a 250Gb HDD. Can that be right??

    I did have a number of I/O error messages listed as the transfer moved throught the HDD. At 5.2Gb transfered I closed the session.

    I see from several posts and the http://www.knoppix.net/docs/index.ph...veUsingKnoppix article that the basic:

    dd if=/dev/sdb of=/dev/sdc

    command is recommended. Am I making a mistake by adding conv=noerror,sync bs=8k to the command? Should I increase the bs rate?

    Sorry for such a stupid question. Any help will be MUCH appreciated!

    Ken

    .................................
    Details:
    Disk Information (Damaged HDD):
    Manufacturer: Maxtor One Touch USB 2.0 / Firewire (External) HDD
    Details: Size: 250Gb / Label: Maxtor / Filesystem: NTFS

    Computer Information:
    IBM Thinkpad R40 - Intel P4 2.4Ghz / 1Gb RAM / 40Gb HDD

    Recovery Disk:
    Maxtor DiamondMax 10 - ATA/133 16MB buffer - USB 2.0
    Details: Size: 250Gb / Label: DiaMax / Fi

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    do you actually have 8K as a reasonable blocksize?? i doublt it. i would go with 512b it is a safe bet that can be shoehorned into most actuall blocksizes.
    and YES it may take LoOooOooong time to do. a few days sounds WEIRD, a 40G hdd should take a good 2 hours.
    BUT as the disc is DAMAGED it may be longer.

  3. #3
    Junior Member
    Join Date
    Mar 2005
    Posts
    4
    OErjan,

    Thanx. I am really a NEWBIE. I used the 8k setting because it was part of a How to article. I have no idea what the best size is/should be.

    There are errors on the disk, but only a small percentage of the disk.

    I will try a larger bs setting.

    What happens if I use no bs setting?

    Ken

  4. #4
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    WHAT? what do you mean "larger", 512b (b as in byte) is much SMALLER than 8K, as 8K =8192b.
    if you give NO bs it deafults to bit by bit iirc.
    that may actually be a BETTER option for you, as it wil copy EVERYTHING from your drive.
    just a few more questions.
    why do you not just copy what you can the normal way from disk to disk?
    a two reasons i can think of (there are LOADS more)
    you need to have the "clone" bootable
    you need to make forensic work on it (meaning do you have to recover broken files)
    just being curious.
    you see, using dd will actually copy the faulty bits aswell as the good ones as exactly as possible.

  5. #5
    Junior Member
    Join Date
    Mar 2005
    Posts
    4
    Sorry, I misread 512b as 512k.

    I would be happy to copy "disk to disk" just a few directories only, most of the drive is backed-up to CDs. I presume that I have lost some data in the faulty sections of the drive.

    The problem is I don't know what commands to use to copy the directories. I don't know any Linux commands! I think I may have to mount the new drive??? I have tried the cp /dev/sda1/'directory name' /dev/sdb1 command, but I get the cannot stat message. There are spaces in the directory names too.

    If anyone could give me a basic 1,2,3 set of commands to copy directories, it would be much apprecated. I just don't know Linux.

    Ken

  6. #6
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    ah, can you use kde? or is it shell only?
    in console i use would use
    Code:
    cp -afx "/path/to/dir/with/split Name" /path/to/new/directory
    that is use " " to show bash that it ia ONE SINGLE PATH. otherwise it tries to copy the files to a dir called name.
    the -a means copy files under this directory recursively (everything under this point), preserve the names... as well as it can be done, preserve filepermissions and atributes as well as can be done (we are still refering to first option, a )
    f means force copy even if not sound, x only in this same filesystem, in other words, do not copy folowing links to another partition, disk...
    it may be a few "bad" files but most should be ok, atleast if the original is ok.

    or use konqueror as root (if you are in a Xwindow environment)
    Code:
    sudo konqueror&

  7. #7
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    by the way, if you want a "crash course" in linux comandline http://floppix.com/labs.html is a good place to start.
    98% of what is there goes for most linux distributions.
    i always reccomend it as a good way to get well aquainted with linux in a no nonsence way. ofcource it may be somewhat "thin" on explanations and not verry in depth, on the other hand there is not much "fat" to trim, just "bare essentials".

  8. #8
    Junior Member
    Join Date
    Mar 2005
    Posts
    4
    OErjan

    Thank you!! I am trying it now. The "crash course" link looks very useful.

    Ken

  9. #9
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    just another thing, you copy as root right? if not you might find that you do not have permissions to some files...

Similar Threads

  1. Not seeing a new USB2.0 250Gb external
    By cruman in forum Hardware & Booting
    Replies: 1
    Last Post: 03-02-2006, 02:42 AM
  2. 250gb hard drive
    By dextermovies in forum Hdd Install / Debian / Apt
    Replies: 10
    Last Post: 02-02-2005, 05:39 PM
  3. Knoppix on 250GB hdds
    By false-hopes in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 05-29-2004, 01:02 AM
  4. 24 days and a few problems left.
    By VeeDubb in forum Hardware & Booting
    Replies: 26
    Last Post: 01-20-2004, 09:18 PM
  5. Clone Win Drive?
    By iconfly in forum General Support
    Replies: 2
    Last Post: 05-13-2003, 09:41 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
  •  


Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS picture

Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS

$189.98



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Intel Xeon E5-2697 V2 LGA2011 Server CPU Processor 2.7GHz 12 Core SR19H 130W picture

Intel Xeon E5-2697 V2 LGA2011 Server CPU Processor 2.7GHz 12 Core SR19H 130W

$35.00



Dell Precision 7820 Win 11 Gaming Computer Xeon Silver 4112 16GB GTX 1080 picture

Dell Precision 7820 Win 11 Gaming Computer Xeon Silver 4112 16GB GTX 1080

$320.00



Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



Intel Xeon E5-2690v2 SR1A5 10-Core 3.00GHz 25MB 130W LGA2011 CPU *km picture

Intel Xeon E5-2690v2 SR1A5 10-Core 3.00GHz 25MB 130W LGA2011 CPU *km

$11.99



Intel Xeon W-2255 SRGV8 3.7GHz 10-Core LGA2066 Server CPU Processor picture

Intel Xeon W-2255 SRGV8 3.7GHz 10-Core LGA2066 Server CPU Processor

$199.99



Intel Xeon Gold 6230 2.1 GHz Processor - SRF8W picture

Intel Xeon Gold 6230 2.1 GHz Processor - SRF8W

$29.00



Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS

$144.98



Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98