System and processes
The lvs command
Summary of logical volumes: group, attributes and size.
Syntax
lvsCopy-ready examples
$ sudo pvcreate /dev/sdbPV$ sudo vgcreate datos /dev/sdbVG$ sudo lvcreate -L 2G -n web datosLV$ sudo lvsSummaryYou can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- The full LV path is /dev/group/name.
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