5.4.11. 重新命名逻辑卷
要重新命名一个现有逻辑卷,请使用
lvrename 命令。
Either of the following commands renames logical volume
lvold in volume group vg02 to lvnew.
lvrename /dev/vg02/lvold /dev/vg02/lvnew
# lvrename /dev/vg02/lvold /dev/vg02/lvnew
lvrename vg02 lvold lvnew
# lvrename vg02 lvold lvnew
Renaming the root logical volume requires additional reconfiguration. For information on renaming a root volume, see How to rename root volume group or logical volume in Red Hat Enterprise Linux.
For more information on activating logical volumes on individual nodes in a cluster, see 第 5.7 节 “在群集的独立节点中激活逻辑卷”.