4.4.4. 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 4.3.6, “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