Cloning and VG UUIDs change
When we clone Redhat VMs we end up getting same uuid for VG, PV and LVs across all cloned VMs.
Is it important to change the UUIDs and how do we change them ? |
Code:
blkid |
Quote:
Is there any way to change root volume group uuid and boot disk uuid ? |
"man vgchange"
|
Quote:
|
Quote:
|
I finally worked out the solution using rescue method. It is for Redhat VM.
Connect OS DVD file in vCenter CDROM icon. Upon boot press F2 to go into Virtual BIOS Setup. Change order to boot from DVD drive. Save and exit. In new screen select “Rescue installed system.” Then “English” Then “us” Then “Local cd/dvd” Then “Networking” -> No Then “Rescue” Skip Then “shell Start shell”. Now at Command line vgchange –uuid vg00 vgchange –uuid /dev/sda2 reboot Press [F2] and put back the old boot order in Bios. Save and exit. Disconnect OS-DVD-file from vCenter. That is all. |
Check this HOWTO LUNs on Linux using native tools
Close to end of blog, there are about cloning. |
All times are GMT -5. The time now is 12:35 AM. |