diff --git a/pages/linux/vgchange.md b/pages/linux/vgchange.md new file mode 100644 index 0000000000..e8ad0421e8 --- /dev/null +++ b/pages/linux/vgchange.md @@ -0,0 +1,13 @@ +# vgchange + +> Change the attributes of a Logical Volume Manager (LVM) volume group. +> See also: `lvm`. +> More information: . + +- Change the activation status of logical volumes in all volume groups: + +`sudo vgchange --activate {{y|n}}` + +- Change the activation status of logical volumes in the specified volume group (determine with `vgscan`): + +`sudo vgchange --activate {{y|n}} {{volume_group}}}` diff --git a/pages/linux/vgscan.md b/pages/linux/vgscan.md new file mode 100644 index 0000000000..fd6927ca98 --- /dev/null +++ b/pages/linux/vgscan.md @@ -0,0 +1,13 @@ +# vgscan + +> Scan for volume groups on all supported Logical Volume Manager (LVM) block devices. +> See also `lvm`, `vgchange`. +> More information: . + +- Scan for volume groups and print information about each group found: + +`sudo vgscan` + +- Scan for volume groups and add the special files in `/dev`, if they don't already exist, needed to access the logical volumes in the found groups : + +`sudo vgscan --mknodes`