![Forrest logo](/images/logo.png)
pvs:tldr:8da66
The pvs
command stands for "Physical Volume(s)" and is used in the context of Logical Volume Management (LVM) on Unix-like systems. It is used to display information about the physical volumes that exist on a system.
When you run the pvs
command without any options, it will provide a summary of all the physical volumes currently available on the system. This summary typically includes details such as the physical volume name, size, free space, and other related attributes.
Additionally, you can use various options with the pvs
command to customize the displayed information according to your needs. Some commonly used options include:
-a
or--all
: This option displays information about all physical volumes, including those marked as "missing" or "failed."-o
or--options
: Allows you to specify the columns to be displayed in the output. You can choose from a set of predefined field names or define custom fields.-v
or--verbose
: Provides more detailed information about the physical volumes, including the metadata areas and data areas associated with each physical volume.
Overall, the pvs
command is useful for obtaining an overview of the physical volumes in a Logical Volume Management setup, helping administrators monitor disk space usage, and troubleshoot storage-related issues.