vgs

Display information about volume groups. See also: lvm. More information: <https://man7.org/linux/man-pages/man8/vgs.8.html>.

Install

All systems
curl cmd.cat/vgs.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/vgs vgs powered by Commando

Display information about volume groups. See also: lvm. More information: <https://man7.org/linux/man-pages/man8/vgs.8.html>.

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

© tl;dr; authors and contributors