Change volume group attributes.
The vgchange command is used to change the attributes of a volume group, often to set it as active or inactive. An active volume group cannot be deleted; it must be set to an inactive state using the vgchange command before it can be removed.
vgchange (option) (parameter)
-a: Set the active state of the volume group.
Volume Group: Specifies the volume group whose attributes are to be set.
Use the vgchange command to set the volume group status to active. Enter the following command at the command line:
[root@localhost ~]# vgchange -ay vg1000 # Set volume group "vg1000" to active state
The output information is as follows:
1 logical volume(s) in volume group "vg1000" now active