vgscan, vgchange: add page (#6128)

This commit is contained in:
Adam Herst
2021-06-25 15:49:56 -04:00
committed by GitHub
parent 3daf7524fe
commit 09eb57be3d
2 changed files with 26 additions and 0 deletions

13
pages/linux/vgchange.md Normal file
View File

@@ -0,0 +1,13 @@
# vgchange
> Change the attributes of a Logical Volume Manager (LVM) volume group.
> See also: `lvm`.
> More information: <https://manned.org/vgchange>.
- 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}}}`

13
pages/linux/vgscan.md Normal file
View File

@@ -0,0 +1,13 @@
# vgscan
> Scan for volume groups on all supported Logical Volume Manager (LVM) block devices.
> See also `lvm`, `vgchange`.
> More information: <https://manned.org/vgscan>.
- 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`