LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pvs

Report physical volume information

TLDR

List physical volumes
$ sudo pvs
copy
List all including non-PVs
$ sudo pvs -a
copy
Verbose output
$ sudo pvs -v
copy
Show specific fields
$ sudo pvs -o pv_name,vg_name,pv_size
copy
Append field
$ sudo pvs -o +field_name
copy
No headings
$ sudo pvs --noheadings
copy
Use separator
$ sudo pvs --separator =
copy

SYNOPSIS

pvs [OPTIONS] [PhysicalVolume...]

DESCRIPTION

pvs displays information about physical volumes in a configurable table format. It shows device names, volume groups, sizes, and free space for each physical volume.

PARAMETERS

-a, --all

Show devices that are not physical volumes
-v, --verbose
Increase verbosity and show additional details
-o, --options fields
Specify which fields to display
--noheadings
Suppress the heading line in output
--separator char
Use specified character as field separator
--units units
Display sizes in specified units

INSTALL

sudo apt install lvm2
copy
sudo dnf install lvm2
copy
sudo pacman -S lvm2
copy
sudo apk add lvm2
copy
sudo zypper install lvm2
copy
nix profile install nixpkgs#lvm2
copy

CAVEATS

Physical volumes that are not part of a volume group will show empty VG field. Use -a to see devices that could become physical volumes.

HISTORY

pvs is part of LVM2, the Linux Logical Volume Manager.

SEE ALSO

lvm(1), pvdisplay(1), lvs(1), vgs(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid