LVM attributes

When you type ‘lvs’ on Linux, you get a list of logical volume system with their attributse as a single letter : /// LV VG Attr LSize Origin Snap% Move Log Copy% Convert lv_hdd hdd -wi-a- 232.00g /// We’ll explain all attr fields in this post.

There are 6 characters in this field. Each one can have different values : !!!!Character 1 * (m)irrored * (M)irrored without initial sync * (o)rigin * (p)vmove * (s)napshot : this volume is a snapshot * (S)napshot invalid : this volume is a snapshot that cannot be used for different reasons * (v)irtual * (i)mage mirror * (I)mage out-of-sync * (c)onversion in progress !!!!Character 2 * (w)riteable : this volume can be written * (r)ead-only : this device cannot be written !!!!Character 3 * (c)ontiguous * (n)ormal * c(l)ing * (a)nywhere * (i)nherited !!!!Character 4 * (m)inor !!!!Character 5 * (a)ctive * (s)uspended * (I)nvalid snapshot * (S)uspended snapshot * (d)evice present without tables * (i)nactive table on present device !!!!Character 6 * (o)pen : if the device is actually opened

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *