In case that you need to rename one or more logical volume, here is what you need to do.
Rename logical volume is pretty simple.
#lvrename VolumeGroupName OldLogicalVolumeName NewLogicalVolumeName
Ok, so you rename logical volume but .... will you have save reboot? Here is few things you should be aware of.
1. Make changes in /etc/fstab
In case you forgot to do that, you will have problems once you reboot you system
2. In case you have renamed logical volume that was mounted on / you need to make changes in /boot/grub/menu.lst and make changes where ever you have old logical volume name.
That is it!
Rename logical volume is pretty simple.
#lvrename VolumeGroupName OldLogicalVolumeName NewLogicalVolumeName
Ok, so you rename logical volume but .... will you have save reboot? Here is few things you should be aware of.
1. Make changes in /etc/fstab
In case you forgot to do that, you will have problems once you reboot you system
2. In case you have renamed logical volume that was mounted on / you need to make changes in /boot/grub/menu.lst and make changes where ever you have old logical volume name.
That is it!
No comments:
Post a Comment