http://www.tcpdump.com/kb/os/linux/lvm-attributes/intro.html
(10 votes, average 4.80 out of 5)
Written by Tom Hirt |
Thursday, 21 May 2009 19:30 |
Page 1 of 3
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:
lv_attr Table:
[root@Linux01 ~]# lvs |
LV | VG | Attr | LSize | Origin | Snap% | Move | Log | Copy% | Convert |
LogVol00 | VolGroup00 | -wi-ao | 1.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 |
|
Bit #3 |
- (c)ontiguous
- (n)ormal
- c(l)ing
- (a)nywhere
- (i)nherited
|
Bit #4 |
|
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 |
|
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