pvs

Output physical volume information report

Supplementary instructions

pvs command is used to output formatted physical volume information reports. Using the pvs command can only obtain summary information of the physical volume. If you want to obtain more detailed information, you can use the pvdisplay command.

grammar

pvs(options)(parameters)

Options

--noheadings: Do not output headers;
--nosuffix: Do not output the unit of space size.

Parameters

Physical Volumes: List of physical volumes for which the report is to be displayed.

Example

Use the pvs command to display information reports on all physical volumes in the system. Enter the following command at the command line:

pvs # Output physical volume information report

The output information is as follows:

PV VG fmt Attr PSize PFree
/dev/sdb1 vg1000 lvm2 -- 100.00M 100.00M
/dev/sdb2 lvm2 -- 101.98M 101.98M