Lvs: Difference between revisions

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


* [[Linux_Logical_Volume_Management_Operations#Information_about_Logical_Volumes|Logical Volume Management Operations]]
* [[Linux_Logical_Volume_Management_Operations#Information_about_Logical_Volumes|Logical Volume Operations]]


=Overview=
=Overview=


Command that provides information about [[Linux_Logical_Volume_Management_Concepts#Logical_Volume_.28LV.29|logical volumes]].
Command that provides information about [[Linux_Logical_Volume_Management_Concepts#Logical_Volume_.28LV.29|logical volumes]].
#lvs
  LV          VG        Attr      LSize Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  docker-pool docker_vg twi-aot--- 9.90g            8.13  2.12


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

Latest revision as of 16:54, 3 November 2017

Internal

Overview

Command that provides information about logical volumes.

#lvs
 LV          VG        Attr       LSize Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
 docker-pool docker_vg twi-aot--- 9.90g             8.13   2.12

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

--units

Logical Volume Management Units