Swapping HDD....

Reindl Harald h.reindl at thelounge.net
Thu Dec 27 23:37:21 UTC 2012



Am 28.12.2012 00:22, schrieb Eddie G. O'Connor Jr.:
>> Besides, I agree with your conclusion, that Clonezilla may be the best
>> way for you. I used it and I like it.
>>
> I am thankful for all the comments, I have just finished my backup of my entire system, I'm still "skiffy" when it
> comes to command line stuff...(too bad there's no Text for Fedora 17 Command Line training?...like there is with
> Red Hat!) so I will be going the path of least resistance and going with the option that will make an exact "clone"
> of my drive. Here's to hoping this works!

dd is really no rocket science

you only need to make sure what is source and what is destination
after plug a external hard disk "dmesg" make clear in it's last
entries what is the enw device

dd if=/dev/sd<source> of=/dev/sd<target> bs=16M
and wait................. there is no progress visible!

___________________________

given you boot both machines from a live-cd and configure sshd for
key-authentication which takes a little google and 5 minutes i was
able to clone a complete PC with 4 x 2 TB disks having 3 linux
software-raids (RAID1 for /boot, RAID10 for / and RAID10 for /data
eith a 4-liner

it took only few hours and all i had to do was reconfigure the
network on the new machine - giving you have a quad-core cpu
and configure ssh for compression this is dmaned effective
because the empty parts are compressed well and you have one
cpu-core for compress/encrpt a disk

dd if=/dev/sda | ssh root at 192.168.196.129 "dd of=/dev/sda bs=16M" &
dd if=/dev/sdb | ssh root at 192.168.196.129 "dd of=/dev/sdb bs=16M" &
dd if=/dev/sdc | ssh root at 192.168.196.129 "dd of=/dev/sdc bs=16M" &
dd if=/dev/sdd | ssh root at 192.168.196.129 "dd of=/dev/sdd bs=16M" &

these days i would use 'ssh -c "arcfour128"'which results in
around 100 MB/second by "cheaper" encryption which i also
use these days for rsync-backups in 100% secure networks

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20121228/c6609959/attachment.sig>


More information about the users mailing list