From 09eb57be3d5cac3ecced4d9c3b6be744b8330dc8 Mon Sep 17 00:00:00 2001 From: Adam Herst Date: Fri, 25 Jun 2021 15:49:56 -0400 Subject: [PATCH] vgscan, vgchange: add page (#6128) --- pages/linux/vgchange.md | 13 +++++++++++++ pages/linux/vgscan.md | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 pages/linux/vgchange.md create mode 100644 pages/linux/vgscan.md 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`