lvs

Display information about logical volumes. See also: lvm. More information: <https://man7.org/linux/man-pages/man8/lvs.8.html>.

Install

All systems
curl cmd.cat/lvs.sh
Debian Debian
apt-get install lvm2
Ubuntu
apt-get install lvm2
Alpine
apk add lvm2
Arch Arch Linux
pacman -S lvm2
image/svg+xml Kali Linux
apt-get install lvm2
CentOS
yum install lvm2
Fedora
dnf install lvm2
Windows (WSL2)
sudo apt-get update sudo apt-get install lvm2
Raspbian
apt-get install lvm2
Docker
docker run cmd.cat/lvs lvs powered by Commando

Display information about logical volumes. See also: lvm. More information: <https://man7.org/linux/man-pages/man8/lvs.8.html>.

  • Display information about logical volumes:
    lvs
  • Display all logical volumes:
    lvs -a
  • Change default display to show more details:
    lvs -v
  • Display only specific fields:
    lvs -o field_name_1,field_name_2
  • Append field to default display:
    lvs -o +field_name
  • Suppress heading line:
    lvs --noheadings
  • Use a separator to separate fields:
    lvs --separator =

© tl;dr; authors and contributors