System and processes

The vgextend command

Extends a volume group by adding more physical disks.

Syntax

sudo vgextend <grupo> <dispositivo...>

Copy-ready examples

$ sudo pvcreate /dev/sdb /dev/sdcPrepare PVs
$ sudo vgcreate datos /dev/sdbCreate VG
$ sudo vgextend datos /dev/sdcExtend

You can try them in the browser terminal: it does not touch your computer.

Typical mistakes

  • Extending the VG lets you create or grow logical volumes.

Related commands

FAQ

Learn to actually use it

The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.

Start the free course