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

vgextend — Add one or more physical volumes to an existing volume group. More information: <https://manned.org/

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

Problem

How to use the vgextend command: Add one or more physical volumes to an existing volume group. More information: <https://manned.org/vgextend>.

Solution

vgextend — Add one or more physical volumes to an existing volume group. More information: <https://manned.org/vgextend>.

Add a physical volume to an existing volume group:
sudo vgextend {{vg1}} {{/dev/sda1}}


Add multiple physical volumes to an existing volume group:
sudo vgextend {{vg1}} {{/dev/sda1 /dev/sda2 ...}}

Code Snippets

Add a physical volume to an existing volume group

sudo vgextend {{vg1}} {{/dev/sda1}}

Add multiple physical volumes to an existing volume group

sudo vgextend {{vg1}} {{/dev/sda1 /dev/sda2 ...}}

Context

tldr-pages: linux/vgextend

Revisions (0)

No revisions yet.