Booting a Cloned Drive and booting with both drives plugged in.
I have a RHEL6 drive encrypted with LUKS (a rootvg and /boot). I want to clone it so dd seems promising or clonezilla. I dd the entire disk over and that drive works great in general. Swap the drive in, and it boots fine.
However, another scenario which I would like to account for is the delta of data not on the backed up drive. So my thought is to boot them both in the same system (say from ultra bay/USB) but it reads the wrong disk etc...
So I then go through the effort of trying to rename the LV PV update grub and fstab etc. to get it to see two separate drives (and properly see the other partition in Linux) , but I keep getting KPs. Not sure what I'm doing wrong.
Q: Has anyone done this before? Am I missing steps I wonder?
Q: OR Is there a better way?
It would be a neat trick to boot both at the same time. In the future we may be able to.
The way one normally keeps data in sync is with some rsync type of way or to mount the drive as a mirror as part of raid.
A clone would have the original settings for anything that deals with device naming/numbering. Remember that you can only have one SDA device. Also things that get uuid or such are off. Kind of a lot of stuff that you would only have to or may have to change back.
I understand that you want to keep a hard drive in case of total hard drive disaster.
A clone also has problems with logical volumes ... the existence of duplicate labels prevents the proper assembly of the logical volumes.
|All times are GMT -5. The time now is 11:54 AM.|