wtorek, 7 maja 2013

LVM Attributes

http://www.tcpdump.com/kb/os/linux/lvm-attributes/intro.html


LVM AttributesPDFPrintE-mail

 
(10 votes, average 4.80 out of 5)
Written by Tom Hirt   
Thursday, 21 May 2009 19:30
Article Index
LVM Attributes
Volume Group Attributes
Physical Volume Attributes
All Pages

Attributes Overview


In this KB, we will explorer LVM display attributes.  The LVM display attributes will help provide some insight into the status of your logical volumes and assist with determine if they are functioning correctly.

Logical Volume Attributes (lv_attr)


The lvs display attributes or lv_attr provide details into the status of the logical volume.  These attributes will help you determine if your volume / mirror / snap is online and functioning correctly.  We have include a diagram and table of this information for your convenience.

lv_attr Diagram:

lvs attr

lv_attr Table:

[root@Linux01 ~]# lvs
LVVGAttrLSizeOriginSnap%MoveLogCopy%Convert
LogVol00VolGroup00-wi-ao1.00G
[root@Linux01 ~]#


Bit #1
  • (m)irrored
  • (M)irrored without initial sync
  • (o)rigin
  • (p)vmove
  • (s)napshot
  • (S)napshot invalid
  • (v)irtual
  • (i)mage mirror
  • (I)mage out-of-sync
  • (c)onversion in progress
Bit #2
  • (w)riteable
  • (r)ead-only
Bit #3
  • (c)ontiguous
  • (n)ormal
  • c(l)ing
  • (a)nywhere
  • (i)nherited
Bit #4
  • (m)inor
Bit #5
  • (a)ctive
  • (s)uspended
  • (I)nvalid snapshot
  • (S)uspended snapshot
  • (d)evice present without tables
  • (i)nactive table on present device
Bit #6
  • (o)pen 

From the above examples, we can see the lv_attr of '-wi-ao' tells us this logical volumes is:
  • Writeable
  • Inherited
  • Active
  • Open (mounted)

Brak komentarzy:

Prześlij komentarz

Ginekolog dr n. med. Piotr Siwek

Gabinet ginekologiczny specjalista ginekolog - położnik dr n. med. Piotr Siwek