5.4.10. 修改逻辑卷组的参数
要修改逻辑卷参数,请使用
lvchange 命令。有关您可以修改的参数列表,请参考 lvchange(8) man page。
You can use the
lvchange command to activate and deactivate logical volumes. To activate and deactivate all the logical volumes in a volume group at the same time, use the vgchange command, as described in 第 5.3.8 节 “修改卷组参数”.
The following command changes the permission on volume
lvol1 in volume group vg00 to be read-only.
lvchange -pr vg00/lvol1
# lvchange -pr vg00/lvol1