mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 13:05:59 +02:00
vgscan, vgchange: add page (#6128)
This commit is contained in:
parent
3daf7524fe
commit
09eb57be3d
2 changed files with 26 additions and 0 deletions
13
pages/linux/vgchange.md
Normal file
13
pages/linux/vgchange.md
Normal 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
13
pages/linux/vgscan.md
Normal 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`
|
Loading…
Add table
Reference in a new issue