Using dd utility to clone a server
by mcv110 from LinuxQuestions.org on (#5GKBF)
I have two (old) identical servers running RHEL5. One has failed and I have decided to clone the other to restore the failed box.
I ran dd with this command on the healthy server from a live CD: Code:sudo dd if=/dev/sda of=/dev/sdb1the process ran without issue and reported that the amount of data I would have expected was successfully copied to the external HDD. I can view the contents of the drive from file manager, doesn't look like anything useful to me, but there is data.
When I move that HDD to the failed machine and want to copy it back (running live CD) that server does not even see the drive.
Did I miss something in the dd process? I have never done this before. Thanks for any input.


I ran dd with this command on the healthy server from a live CD: Code:sudo dd if=/dev/sda of=/dev/sdb1the process ran without issue and reported that the amount of data I would have expected was successfully copied to the external HDD. I can view the contents of the drive from file manager, doesn't look like anything useful to me, but there is data.
When I move that HDD to the failed machine and want to copy it back (running live CD) that server does not even see the drive.
Did I miss something in the dd process? I have never done this before. Thanks for any input.