Lvs: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 17: Line 17:
Options, displays various fields:
Options, displays various fields:


* '''vg_name''' - displays the [[Linux_Logical_Volume_Management_Concepts#Volume_Group_.28VG.29|volume group]] name.
{{Internal|Logical Volume Management Fields|Logical Volume Management Fields}}
* '''lv_name''' - displays the logical volume name.
* '''lv_attr''' - displays the logical volume attributes.


==-S==
==-S==

Revision as of 04:34, 23 May 2017

Internal

Overview

Command that provides information about logical volumes.

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 vg_name=${something},...