I'd like to rename my existing volume groups and logical volumes (I picked names a long time ago I no longer like :-). I recently stumbled across the lvrename and vgrename commands, but when I tried the former to rename the logical volume that my root partition resides on, the system became unbootable.

In addition to renaming the LV (and VG if I decide to to that as well), what else needs to be changed? So far my list includes:

  o /etc/fstabb
  o /boot/grub/grub.conf
  o /dev/<vgname>/<lvnamex>
  o /dev/mapper/<vgname-lvnamex>

I was hoping the lvrename and/or vgrename would take care of these details. Are there any scripts out there that take care of all the details? If not, I may write one (once I have the recipe to get this working, of course).

Alfred

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to