The only downside to this is that all the machines end up with the same volume group name: typically VolGroup0 or some such thing. That's ugly and limits the ability to move volume groups around - these are virtual disks after all. Renaming a volume group is straight forward:
vgrename /dev/VolGroup0 /dev/CarazonHold it! Now the machine won't boot anymore! You get the pleasure of rebooting into "Kernel Panic: blah blah blah". If you rename the volume group containing the root filesystem and swap space you also have to update that name in two places -
Text 1: Rename the volume group VolGroup0 to be named Carazon.
- In /etc/fstab. This one is obvious and I usually remember.
- In /etc/grub.conf. Otherwise the kernel tries to mount the root file-system using the old volume group name.
0 comments:
Post a Comment