Pvs: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 22: Line 22:
==-S==
==-S==


Select: Display only rows that match selection criteria. The fields that can be used are listed in the [[]] section.
Select: Display only rows that match selection criteria. The fields that can be used are listed in the [[#-o|-o]] section.


<pre>
<pre>
-S pv_name=${something},vg_name=${something_else}
-S pv_name=${something},vg_name=${something_else}
</pre>
</pre>

Revision as of 02:23, 23 May 2017

Internal

Overview

Displays information about physical volumes.

Options

--noheadings

Drops headers, useful when the output if mechanically processed.

-o

Options, displays various fields:

  • pv_name displays the physical volume name
  • vg_name displays the volume group name

-S

Select: Display only rows that match selection criteria. The fields that can be used are listed in the -o section.

-S pv_name=${something},vg_name=${something_else}