vgchange

From RaySoft

vgchange allows you to change the attributes of one or more volume groups. Its main purpose is to activate and deactivate Volume Group, or all volume groups if none is specified. Only active volume groups are subject to changes and allow access to their logical volumes.[1]

Documentation

Syntax

vgchange [PARAMETER ...] [VOLUME ...]

Parameters

-a y|n, --available y|n
Controls the availability of the logical volumes in the volume group for input/output. In other words, makes the logical volumes known/unknown to the kernel.

Examples

Activate all known volume groups in the system
vgchange --available 'y'

References

  1. man 8 'vgchange'