pvs

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

Install

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

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

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

© tl;dr; authors and contributors