|
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)
Volume Group Attributes (vg_attr)
The vgs display attributes or vg_attr provides details into the status of the volume group. These attributes will help you understand the makeup and composition of the volume group. We have include a diagram and table of this information for your convenience.
vg_attr Diagram:

vg_attr Table:
| [root@Linux01 ~]# vgs |
| VG |
#PV |
#LV |
#SN |
Attr |
VSize |
VFree |
| VolGroup00 |
1 |
5 |
0 |
wz--n- |
9.88G |
0 |
| [root@Linux01 ~]# |
|
| Bit #1 |
|
| Bit #2 |
|
| Bit #3 |
|
| Bit #4 |
|
| Bit #5 |
- (c)ontiguous
- c(l)ing
- (n)ormal
- (a)nywhere
- (i)nherited
|
Bit #6
|
|
From the above examples, we can see the vg_attr of 'wz--n-' tells us this volume group is:
- Writeable
- Resizeable
- Normal
Physical Volume Attributes (pv_attr)
The pvs display attributes or pv_attr provides details into the status of the physical volumes. We have include a diagram and table of this information for your convenience.
pv_attr Diagram:

pv_attr Table:
| [root@Linux01 ~]# pvs |
| PV |
VG |
Fmt |
Attr |
Psize |
PFree |
| /dev/sda2 |
VolGroup00
|
lvm2
|
a- |
9.88G |
0 |
| [root@Linux01 ~]# |
|
From the above examples, we can see the pv_attr of 'a-' tells us this volume group is:
Add this page to your favorite website
|