Lvs

From NovaOrdis Knowledge Base
Revision as of 16:54, 3 November 2017 by Ovidiu (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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