Pvs: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Internal=
=Internal=


* [[Linux_Logical_Volume_Management_Operations#Inventory_of_Physical_Volumes|Logical Volume Management Operations]]
* [[Linux_Logical_Volume_Management_Operations#Information_about_Physical_Volumes|Logical Volume Operations]]


=Overview=
=Overview=


Displays information about [[Linux_Logical_Volume_Management_Concepts#Physical_Volumes_.28PVs.29|physical volumes]].
Displays information about [[Linux_Logical_Volume_Management_Concepts#Physical_Volumes_.28PVs.29|physical volumes]].
<pre>
# pvs
  PV        VG            Fmt  Attr PSize PFree
  /dev/sda2  rhel_rhel-test lvm2 a--  7.51g    0
</pre>


=Options=
=Options=
Line 26: Line 32:
-S pv_name=${something},vg_name=${something_else}
-S pv_name=${something},vg_name=${something_else}
</pre>
</pre>
==--units==
{{Internal|Logical Volume Management Units|Logical Volume Management Units}}

Latest revision as of 13:35, 23 May 2017

Internal

Overview

Displays information about physical volumes.

# pvs
  PV         VG             Fmt  Attr PSize PFree
  /dev/sda2  rhel_rhel-test lvm2 a--  7.51g    0 

Options

--noheadings

Drops headers, useful when the output if mechanically processed.

-o

Options, displays various fields:

Logical Volume Management Fields

-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}

--units

Logical Volume Management Units