Show Table of Contents
5.4.10. Changing the Parameters of a Logical Volume Group
To change the parameters of a logical volume, use the
lvchangecommand. For a listing of the parameters you can change, see the
lvchange(8) man page.
You can use the
lvchangecommand to activate and deactivate logical volumes. To activate and deactivate all the logical volumes in a volume group at the same time, use the
vgchangecommand, as described in Section 5.3.8, “Changing the Parameters of a Volume Group”.
The following command changes the permission on volume
lvol1in volume group
vg00to be read-only.
lvchange -pr vg00/lvol1