Renaming root VG

From MyWiki

(Difference between revisions)
Jump to: navigation, search
93.107.135.134 (Talk)
(New page: Something I faced few weeks ago when I needed to change root password inside a domU and Volume group where / resided on dom0 and the domU had the same name. I made changes in my Kickstart ...)
Newer edit →

Revision as of 16:50, 8 May 2009

Something I faced few weeks ago when I needed to change root password inside a domU and Volume group where / resided on dom0 and the domU had the same name. I made changes in my Kickstart file since then to never face the crisis again.

Here is the bug reported that has the details as of what to do.

In short. You need to rename the root VG of your dom0 to something other than the default VolGroup00 and probably something unique enough, so none of the future domU you host on that dom0 get the same name for root VG. To do that:

  • boot off a live cd (I used Knoppix, the guys who responded to the bug report used Fedora LiveCD)
  • rename the volume group
  • mount the dom0 / and change all the entries in /etc/fstab there to reflect the new name of the volume group
  • chroot into the dom0 / and rebuild initrd image as it has the old volume group name in it
  • reboot
Personal tools