commands.sh

pvscan

linux

List all physical volumes and manage their online status.

More info →

Examples (4)

List all physical volumes

Show the volume group that uses a specific physical volume

sudo pvscan --cache --listvg /dev/sdX

Show logical volumes that use a specific physical volume

sudo pvscan --cache --listlvs /dev/sdX

Display detailed information in JSON format

sudo pvscan --reportformat json
made by @shridhargupta | data from tldr-pages