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
  •  


HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$74.99



Western Digital WD60PURZ 6TB Hard Drive SATA6 Gb/s 64MB Cache 3.5 Inch picture

Western Digital WD60PURZ 6TB Hard Drive SATA6 Gb/s 64MB Cache 3.5 Inch

$109.99



Seagate Exos X20 16TB 7.2K 256MB 3.5

Seagate Exos X20 16TB 7.2K 256MB 3.5" SATA 6Gb/s Enterprise HDD - ST16000NM000D

$139.99



WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F picture

WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F

$25.00



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



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

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

$82.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$27.49



8TB Seagate Archive SATA 3.5

8TB Seagate Archive SATA 3.5" HDD Hard Drive 100% Healthy 200MB/s ST8000AS0002

$36.53



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$174.99



WD HDD Ultrastar DC HC520 HUH721212AL4205 12TB 3.5

WD HDD Ultrastar DC HC520 HUH721212AL4205 12TB 3.5" SAS Server Hard Disk Drive

$45.30