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.
* '''lv_name''' - displays the logical volume name.
* '''lv_attr''' - displays the logical volume attributes.


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

Revision as of 04:16, 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:

  • vg_name - displays the volume group name.
  • lv_name - displays the logical volume name.
  • lv_attr - displays the logical volume attributes.

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