[linux-lvm] merging snapshots and lvs bug
Alasdair G Kergon
agk at redhat.com
Fri Jul 15 11:39:01 UTC 2011
On Thu, Jul 14, 2011 at 07:46:12PM -0700, ben wrote:
> Currently the first field of the attribute bits are set to 's' for a snapshot
> and 'S' for a merging snap. Unfortunatly 'S' was used for an invalid snapshot
> and lvs still uses it both ways.
Invalid snapshot is meant to be shown by I (for invalid) in the 5th position.
The lv_attr bits are:
1 Volume type: (m)irrored, (M)irrored without initial sync,
(o)rigin, (O)rigin with merging snapshot, (s)napshot, merging
(S)napshot, (p)vmove, (v)irtual, mirror (i)mage, mirror
(I)mage out-of-sync, under (c)onversion
5 State: (a)ctive, (s)uspended, (I)nvalid snapshot, invalid
(S)uspended snapshot, mapped (d)evice present without tables,
mapped device present with (i)nactive table
If some particular case is giving the wrong output, please show us exactly which
case that is, and how the output looks, together with 'dmsetup info -c',
'dmsetup table' and 'dmsetup status'.
More information about the linux-lvm