How to rename LVM and Volume Group in RHEL

It is very easy to change the LVM name we already defined to our system. With just one command we can change the name of LVM. For this:

For LVM Syntax:

# lvrename /dev/oracle/oracle /dev/oracle vs/oracle

Or

# lvrename Volu_Group_Name  Old_log_vol_name new_log_vol_name

For Volume Group Syntax:

# vgrename old_vol_group_name new_vol_group_name 

Hits: 0

Leave a Reply

Your email address will not be published. Required fields are marked *