System and processes

The lvs command

Summary of logical volumes: group, attributes and size.

Syntax

lvs

Copy-ready examples

$ sudo pvcreate /dev/sdbPV
$ sudo vgcreate datos /dev/sdbVG
$ sudo lvcreate -L 2G -n web datosLV
$ sudo lvsSummary

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

Typical mistakes

  • The full LV path is /dev/group/name.

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