I will be updating this later... I believe what I have here is accurate. However, I have not tested it.
NOTE: These specific steps will not work with Grub2.
# vgs
[root@neo ~]# vgs
VG #PV #LV #SN Attr VSize VFree
vg_neo 1 5 0 wz--n- 451.66g 152.66g
[root@neo ~]# vgrename vg_neo vg_noob
[root@neo ~]# cp /etc/fstab /etc/fstab.bak
[root@neo ~]# sed -i -e 's/vg_neo/vg_noob/g' /etc/fstab
[root@neo ~]# sed -i -e 's/vg_neo/vg_noob/g' /boot/grub/grub.conf
[root@neo ~]# sync
[root@neo ~]# vgscan
[root@neo ~]# shutdown now -r
NOTE: These specific steps will not work with Grub2.
# vgs
[root@neo ~]# vgs
VG #PV #LV #SN Attr VSize VFree
vg_neo 1 5 0 wz--n- 451.66g 152.66g
[root@neo ~]# vgrename vg_neo vg_noob
[root@neo ~]# cp /etc/fstab /etc/fstab.bak
[root@neo ~]# sed -i -e 's/vg_neo/vg_noob/g' /etc/fstab
[root@neo ~]# sed -i -e 's/vg_neo/vg_noob/g' /boot/grub/grub.conf
[root@neo ~]# sync
[root@neo ~]# vgscan
[root@neo ~]# shutdown now -r
Comments
Post a Comment