Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

4.4.4. 修​​​​​​​改​​​​​​​逻​​​​​​​辑​​​​​​​卷​​​​​​​组​​​​​​​的​​​​​​​参​​​​​​​数​​​​​​​

要​​​​​​​修​​​​​​​改​​​​​​​逻​​​​​​​辑​​​​​​​卷​​​​​​​参​​​​​​​数​​​​​​​,请​​​​​​​使​​​​​​​用​​​​​​​ 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 第 4.3.7 节 “修​​​​​​​改​​​​​​​卷​​​​​​​组​​​​​​​参​​​​​​​数​​​​​​​”.
下​​​​​​​面​​​​​​​的​​​​​​​命​​​​​​​令​​​​​​​将​​​​​​​卷​​​​​​​组​​​​​​​ vg00 中​​​​​​​卷​​​​​​​ lvol1 的​​​​​​​权​​​​​​​限​​​​​​​改​​​​​​​为​​​​​​​只​​​​​​​读​​​​​​​。​​​​​​​
lvchange -pr vg00/lvol1