HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

vgchange — Change the attributes of a Logical Volume Manager (LVM) volume group. See also: `lvm`. More informat

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thevolumecommandlogicalattributesclichangevgchange
linux

Problem

How to use the vgchange command: Change the attributes of a Logical Volume Manager (LVM) volume group. See also: lvm. More information: <https://manned.org/vgchange>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: linux/vgchange

Revisions (0)

No revisions yet.