mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
19 lines
534 B
Plaintext
19 lines
534 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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 {{[-a|--activate]}} {{y|n}}`
|
|
|
|
- Change the activation status of logical volumes in the specified volume group (determine with `vgscan`):
|
|
|
|
`sudo vgchange {{[-a|--activate]}} {{y|n}} {{volume_group}}`
|