All rights reserved, please indicate the source when citing
pvs - Display PV Usage and Attributes
pvs is a Linux command related to LVM (Logical Volume Manager) that is used to display information about physical volumes (PVs) and their usage within LVM.
The syntax for the pvs command is as follows:
pvs [OPTIONS]。
Common options for the pvs command include:
- -a : List all physical volumes, including unused ones.
- -o : Specify the information to be displayed.
Example:
# pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 db_vg lvm2 a-- <93.15g <74.52g
/dev/sda4 db_vg lvm2 a-- <93.15g <93.15g
/dev/sdb9 centos lvm2 a-- <18.00g 0
|
For more examples and operations related to pvs and LVM, please refer to the provided link.