From: Milan Broz <mbroz@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] vg attributes (vg_attr) in vgs program don't seem to match the man page
Date: Mon, 26 Mar 2007 11:05:41 +0200 [thread overview]
Message-ID: <46078CE5.5050001@redhat.com> (raw)
In-Reply-To: <200703251711.05482.benscott@nwlink.com>
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
next prev parent reply other threads:[~2007-03-26 9:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-26 0:11 [linux-lvm] vg attributes (vg_attr) in vgs program don't seem to match the man page ben scott
2007-03-26 9:05 ` Milan Broz [this message]
2007-03-26 18:38 ` ben scott
2007-03-26 18:51 ` Alasdair G Kergon
2007-03-26 22:47 ` A bug in report.c? WAS: " ben scott
2007-03-27 1:00 ` Jun'ichi Nomura
2007-03-27 6:48 ` [linux-lvm] LVM2 problem, volume group seems to dissapear Maciej Słojewski
2007-03-28 19:57 ` Dave Wysochanski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46078CE5.5050001@redhat.com \
--to=mbroz@redhat.com \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).