[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] vg attributes (vg_attr) in vgs program don't seem to match the man page



ben scott wrote:
> The explanation of the attribute bits printed by the program "vgs" in the man 
> page are as follows:
> 
> The vg_attr bits are:  (w)riteable, (r)ead only, resi(z)eable, e(x)ported, 
> (p)artial and (c)lustered.
> 
> However "vgs" on my debian Etch system prints out this way:
...

See lib/report/report.c in sources for exact description,

Short overview
(note that some attributes are used for hidden volumes only which are parts
of snapshot, mirror, etc...)

PV attributes
a-
|`- exported (vg) [x|-]
`-- allocatable [a|-]

VG attributes

wz--n-
|||||`- clustered [c|-]
||||`-- allocation policy (c)ontiguous,(C)ling,(n)ormal,(a)nywhere,(i)nherit
|||`--- partial vg [p|-]
||`---- exported vg [x|-]
|`----- resizeable vg [z|-]
`------ writable [w|r]

LV attributes

-wi-a-
|||||`- open [o|-]
||||`-- (s)uspended,(a)ctive,(i)nactive((d)without mapping table),
||||    (I)nvalid snapshot, invalid (S)uspended snapshot [s|a|i|d|S|I]
|||`--- fixed minor [m|-]
||`---- allocation policy (if locked ->capitalized) [c|C|n|a|i]
|`----- writable (in pvmove '-') [w|r|-]
`------ type: (p)vmoved, (m)irrored ((M) not synced), mirror (i)mage,(l)og,
                (v)irtual, snapshot (o)rigin/(s)cow [p|m|M|i|l|v|o|s|-]


Milan
--
mbroz redhat com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]