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
  •  


Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 16GB | 2x HDD Trays picture

Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 16GB | 2x HDD Trays

$1349.99



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$79.19



Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu picture

Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu

$135.00



DELL PowerEdge R730 16SFF Server 2x E5-2690v4 =28 Cores No RAM/ HDD H730 4xRJ45 picture

DELL PowerEdge R730 16SFF Server 2x E5-2690v4 =28 Cores No RAM/ HDD H730 4xRJ45

$232.97



CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs picture

CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs

$246.67



DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$284.00



DELL PowerEdge R630 8SFF Server 2x E5-2650v4 2.2GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2650v4 2.2GHz =24 Cores 32GB H730 4xRJ45

$250.00