4.4.4. Changing the Parameters of a Logical Volume Group
To change the parameters of a logical volume, use the
lvchange
command. For a listing of the parameters you can change, see the 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 Section 4.3.6, “Changing the Parameters of a Volume Group”.
The following command changes the permission on volume
lvol1
in volume group vg00
to be read-only.
lvchange -pr vg00/lvol1