Lvs: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 18: Line 18:


* '''vg_name''' - displays the [[Linux_Logical_Volume_Management_Concepts#Volume_Group_.28VG.29|volume group]] name.
* '''vg_name''' - displays the [[Linux_Logical_Volume_Management_Concepts#Volume_Group_.28VG.29|volume group]] name.
==-S==
Select: Display only rows that match selection criteria. The fields that can be used are listed in the [[#-o|-o]] section.
<pre>
-S vg_name=${something},...
</pre>

Revision as of 02:24, 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:

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