System and processes

The vgs command

Summary of volume groups: PVs, LVs and size.

Syntax

vgs

Copy-ready examples

$ sudo pvcreate /dev/sdbPV
$ sudo vgcreate datos /dev/sdbVG
$ sudo vgsSummary

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

Typical mistakes

  • #PV is how many disks and #LV how many logical volumes.

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