There are various circumstances, where you need to make an individual logical volume inactive and therefore unknown to the kernel. You can activate or deactivate individual logical volume with the -a option of the lvchange command.
The following is the format to deactivate an individual logical volume:
The following is the format to activate an individual logical volume:
You can activate or deactivate all of the logical volumes in a volume group with the
-a
option of the
vgchange
command.
This is the equivalent of running the
lvchange -a
command on each individual logical volume in the volume group.