How to change LV and VG name

How to change LV and VG name

================================================================================================
change LV name

1> #lvrename /dev/vg0/lv0 /dev/vg0/Mylv ————-> #lvrename old new

2> #vim /etc/fstab
replace old name with new one

3> #reboot

================================================================================================

Change VG name

1> #vgrename vg0 myvg

2> #vim /etc/fstab
replace old name with new name

3>#reboot

===============================================================================================

Posted in partitions

Leave a Reply