1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Append 'm' attribute to pv_attr for missing PVs.

This commit is contained in:
Alasdair Kergon 2011-06-29 14:56:33 +00:00
parent 174ccd3561
commit e189a84f57
3 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.86 -
=================================
Append 'm' attribute to pv_attr for missing PVs.
Annotate CLVMD_CMD_SYNC_NAMES in decode_cmd.
Remove enforcement of udev verification when using non-standard /dev location.
Fix to preserve exclusive activation of mirror while up-converting.

View File

@ -197,6 +197,7 @@ char *pv_attr_dup(struct dm_pool *mem, const struct physical_volume *pv)
repstr[0] = (pv->status & ALLOCATABLE_PV) ? 'a' : '-';
repstr[1] = (pv->status & EXPORTED_VG) ? 'x' : '-';
repstr[2] = (pv->status & MISSING_PV) ? 'm' : '-';
return repstr;
}

View File

@ -59,7 +59,7 @@ pvseg_start, and pvseg_size.
.IP
With --segments, any "pvseg_" prefixes are optional; otherwise any
"pv_" prefixes are optional. Columns mentioned in \fBvgs (8)\fP can also
be chosen. The pv_attr bits are: (a)llocatable and e(x)ported.
be chosen. The pv_attr bits are: (a)llocatable, e(x)ported and (m)issing.
.TP
.I \-\-segments
Produces one line of output for each contiguous allocation of space on each