System and processes

The pvs command

Summarizes the physical volumes (PV), their group and size.

Syntax

pvs

Copy-ready examples

$ sudo pvcreate /dev/sdbCreate a PV
$ sudo pvsSummary

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

Typical mistakes

  • The VG column stays empty until the PV joins a group.

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