diff --git a/pages/linux/pvscan.md b/pages/linux/pvscan.md new file mode 100644 index 0000000000..fb38ff6c71 --- /dev/null +++ b/pages/linux/pvscan.md @@ -0,0 +1,20 @@ +# pvscan + +> List all physical volumes and manage their online status. +> More information: . + +- List all physical volumes: + +`pvscan` + +- Show the volume group that uses a specific physical volume: + +`pvscan --cache --listvg {{/dev/sdX}}` + +- Show logical volumes that use a specific physical volume: + +`pvscan --cache --listlvs {{/dev/sdX}}` + +- Display detailed information in JSON format: + +`pvscan --reportformat json`