Sponsored Content
Full Discussion: dd cloning of whole disk
Operating Systems Linux Ubuntu dd cloning of whole disk Post 302678177 by Corona688 on Friday 27th of July 2012 11:13:08 AM
Old 07-27-2012
dd does return to a prompt -- you got impatient and killed it before it could finish.

It also prints statistics when it finishes, at least the GNU linux version should.

Next time, at least try the kill -USR1 trick so you can measure how much progress it's made?

You can also try the dd_rescue command if you have it, which does print progress information, and defaults to a sane block size.

Code:
dd_rescue input_device output_device


Last edited by Corona688; 07-27-2012 at 12:51 PM..
 

9 More Discussions You Might Find Interesting

1. SCO

Disk cloning

Hello everybody, :confused: I have to change the system disk on an old PC running SCO 5.0.5. The disk is up and running, this is a preventive action. My experience on UNIX is very limited and I look for the easyest solution to clone this unit. Is it possible with commands or through a clone... (2 Replies)
Discussion started by: mhachez
2 Replies

2. HP-UX

Hpux Disk Cloning

hello, Anybody that has already running script or command that can disk clone the hpux machine thanks (2 Replies)
Discussion started by: eykyn17
2 Replies

3. Solaris

Disk cloning using ufsrestore

I am using ufsdump and ufsrestore to clone the root disk on one of my servers. I would like to automate this as much as possible, but have run into a problem where it prompts for changing the owner/mode when it is complete. Any ideas for running this in the background and not being prompted? ... (4 Replies)
Discussion started by: patricko0317
4 Replies

4. Red Hat

cloning a server

I wish to clone a RedHat EL5 server. What's the easiest way to do this? Thanks :) (4 Replies)
Discussion started by: wazzu62
4 Replies

5. Solaris

Problem by cloning boot disk.

Hello guys! I use the Solaris 10 x86 machine. I need to clone the boot disk. Why, when I copy slice 1 - there is a following: # ufsdump 0f - /dev/rdsk/c0d0s1 | (cd /mnt && ufsrestore rf - ) DUMP: Warning - super-block on device `/dev/rdsk/c0d01` is corrupt - run fsck Dump: The Entire... (6 Replies)
Discussion started by: wolfgang
6 Replies

6. Filesystems, Disks and Memory

Automated disk cloning

Hi, I'm running Ubuntu on my laptop. To keep my data safe and easy disaster recovery as well I bought similar HDD to one installed in my laptop with higher capacity and using USB box I'm doing disk clone to it. So at any time I can replace disk and carry on with my work as before. I'm trying... (2 Replies)
Discussion started by: uvaio
2 Replies

7. Shell Programming and Scripting

Cloning

Hi, Is there disadvantages if we do AIX Serevr cloning to the new AIX server. Thanks in advance (0 Replies)
Discussion started by: kmsekhar
0 Replies

8. HP-UX

HP-UX server cloning

Hello Friends, Am in requirement to clone a Live HP-UX server here's details OS: HpUX B-11.11 with mirrored LVM disks . S/ws: Remedy, XML engine, Annoysystem, Oracle All Oracle, XMl and Remedy data is on SAM LUN which is used for clustering . My requirement to create a clone server and... (10 Replies)
Discussion started by: Shirishlnx
10 Replies

9. Linux

Disk cloning ?

Dear All I needed to clone my disk to another hard drive . I did it as the following : #dd if=/dev/sdb of=/dev/sdc But after a while, the procedure ended with the "writing to /dev/sdc input/output error" message. Can you please let me know how can I overcome this as the fdisk now returns as "... (1 Reply)
Discussion started by: hadimotamedi
1 Replies
RECOVERDM(1)						      General Commands Manual						      RECOVERDM(1)

NAME
recoverdm - recover filesdisks with damaged sectors SYNOPSIS
recoverdm -t type -i filedevicein -o fileout [-l list] [-n retries] [-s speed] DESCRIPTION
recoverdm This program will help you recover disks with bad sectors. You can recover files as well complete devices. In case if finds sec- tors which simply cannot be recoverd, it writes an empty sector to the output file and continues. If you're recovering a CD or a DVD and the program cannot read the sector in "normal mode", then the program will try to read the sector in "RAW mode" (without error-checking etc.). This toolkit also has a utility called 'mergebad': mergebad merges multiple images into one. This can be useful when you have, for example, multiple CD's with the same data which are all damaged. In such case, you can then first use recoverdm to retrieve the data from the damaged CD's into image-files and then combine them into one image with mergebad. OPTIONS
-t type is 1 for files, 10 for floppy disks and 40 for IDE disks (try -h for a complete list) -i filedevicein is the device or file you want to recover. -o fileout is the file where to write to. This file should not already exists. -l list This file will contain the offsets of the bad blocks as well as the size of the bad blocks. This file can be used together with the image with the mergebad utility. -n retries Number of retries before going on with next sector, defaults to 6. -r RAW read Number of retries while reading in RAW mode before going on with next sector, default to 6. -s rotation speed Speed of the CD-ROMDVD, defaults to 1. -h Gives the help message. SEE ALSO
gddrescue(1), dd_rescue(1), testdisk(1), gpart(1) AUTHOR
Folkert van Heusden <flok@xs4all.nl>, Home page is <http://www.vanheusden.com/recoverdm/> recoverdm Version 0.19 RECOVERDM(1)
All times are GMT -4. The time now is 05:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy