2021-04-16 16:57:01 +03:00
.
2017-02-11 01:20:19 +03:00
.SH NOTES
.
The lv_attr bits are:
.IP 1 3
2021-04-15 14:16:41 +03:00
Volume type: (\fBC\fP)ache, (\fBm\fP)irrored, (\fBM\fP)irrored without initial sync, (\fBo\fP)rigin,
2023-12-05 18:08:24 +03:00
(\fBO\fP)rigin with merging snapshot, inte(\fBg\fP)rity, (\fBr\fP)aid, (\fBR\fP)aid without initial sync,
2021-04-15 14:16:41 +03:00
(\fBs\fP)napshot, merging (\fBS\fP)napshot, (\fBp\fP)vmove, (\fBv\fP)irtual,
mirror or raid (\fBi\fP)mage, mirror or raid (\fBI\fP)mage out-of-sync, mirror (\fBl\fP)og device,
under (\fBc\fP)onversion, thin (\fBV\fP)olume, (\fBt\fP)hin pool, (\fBT\fP)hin pool data,
v(\fBd\fP)o pool, v(\fBD\fP)o pool data,
raid or pool m(\fBe\fP)tadata or pool metadata spare.
2017-02-11 01:20:19 +03:00
.IP 2 3
2021-04-15 14:16:41 +03:00
Permissions: (\fBw\fP)riteable, (\fBr\fP)ead-only, (\fBR\fP)ead-only activation of non-read-only
2017-02-11 01:20:19 +03:00
volume
.IP 3 3
2021-04-15 14:16:41 +03:00
Allocation policy: (\fBa\fP)nywhere, (\fBc\fP)ontiguous, (\fBi\fP)nherited, c(\fBl\fP)ing, (\fBn\fP)ormal
2017-02-11 01:20:19 +03:00
This is capitalised if the volume is currently locked against allocation
changes, for example during
.BR pvmove (8).
.IP 4 3
2021-04-15 14:16:41 +03:00
fixed (\fBm\fP)inor
2017-02-11 01:20:19 +03:00
.IP 5 3
2021-04-15 14:16:41 +03:00
State: (\fBa\fP)ctive, (\fBh\fP)istorical, (\fBs\fP)uspended, (\fBI\fP)nvalid snapshot,
invalid (\fBS\fP)uspended snapshot, snapshot (\fBm\fP)erge failed,
suspended snapshot (\fBM\fP)erge failed, mapped (\fBd\fP)evice present without tables,
mapped device present with (\fBi\fP)nactive table, thin-pool (\fBc\fP)heck needed,
suspended thin-pool (\fBC\fP)heck needed, (\fBX\fP) unknown
2017-02-11 01:20:19 +03:00
.IP 6 3
2021-04-15 14:16:41 +03:00
device (\fBo\fP)pen, (\fBX\fP) unknown
2017-02-11 01:20:19 +03:00
.IP 7 3
2021-04-15 14:16:41 +03:00
Target type: (\fBC\fP)ache, (\fBm\fP)irror, (\fBr\fP)aid, (\fBs\fP)napshot, (\fBt\fP)hin, (\fBu\fP)nknown, (\fBv\fP)irtual.
2017-02-11 01:20:19 +03:00
This groups logical volumes related to the same kernel target together. So,
for example, mirror images, mirror logs as well as mirrors themselves appear as
2021-04-15 14:16:41 +03:00
(\fBm\fP) if they use the original device-mapper mirror kernel driver; whereas the raid
equivalents using the md raid kernel driver all appear as (\fBr\fP).
Snapshots using the original device-mapper driver appear as (\fBs\fP); whereas
snapshots of thin volumes using the new thin provisioning driver appear as (\fBt\fP).
2017-02-11 01:20:19 +03:00
.IP 8 3
2021-04-15 14:16:41 +03:00
Newly-allocated data blocks are overwritten with blocks of (\fBz\fP)eroes before use.
2017-02-11 01:20:19 +03:00
.IP 9 3
Volume Health, where there are currently three groups of attributes identified:
.IP
2021-04-15 14:16:41 +03:00
Common ones for all Logical Volumes: (\fBp\fP)artial, (\fBX\fP) unknown.
2017-02-11 01:20:19 +03:00
.br
2021-04-15 14:16:41 +03:00
(\fBp\fP)artial signifies that one or more of the Physical Volumes this Logical
Volume uses is missing from the system. (\fBX\fP) unknown signifies the status
2017-02-11 01:20:19 +03:00
is unknown.
.IP
2021-04-15 14:16:41 +03:00
Related to RAID Logical Volumes: (\fBr\fP)efresh needed, (\fBm\fP)ismatches exist, (\fBw\fP)ritemostly.
2017-02-11 01:20:19 +03:00
.br
2021-04-15 14:16:41 +03:00
(\fBr\fP)efresh signifies that one or more of the Physical Volumes this RAID Logical
2017-02-11 01:20:19 +03:00
Volume uses had suffered a write error. The write error could be due to a
temporary failure of that Physical Volume or an indication that it is failing.
2021-04-15 14:16:41 +03:00
The device should be refreshed or replaced. (\fBm\fP)ismatches signifies that the
2017-02-11 01:20:19 +03:00
RAID logical volume has portions of the array that are not coherent.
Inconsistencies are detected by initiating a "check" on a RAID logical volume.
(The scrubbing operations, "check" and "repair", can be performed on a RAID
2021-04-15 14:16:41 +03:00
logical volume via the 'lvchange' command.) (\fBw\fP)ritemostly signifies the
2017-02-11 01:20:19 +03:00
devices in a RAID 1 logical volume that have been marked write-mostly.
2021-04-15 14:16:41 +03:00
Re(\fBs\fP)haping signifies a RAID Logical Volume is either undergoing a stripe
2018-12-11 18:54:17 +03:00
addition/removal, a stripe size or RAID algorithm change.
2021-04-15 14:16:41 +03:00
(\fBR\fP)emove after reshape signifies freed striped raid images to be removed.
2017-02-11 01:20:19 +03:00
.IP
2021-04-15 14:16:41 +03:00
Related to Thin pool Logical Volumes: (\fBF\fP)ailed, out of (\fBD\fP)ata space,
(\fBM\fP)etadata read only.
2017-02-11 01:20:19 +03:00
.br
2021-04-15 14:16:41 +03:00
(\fBF\fP)ailed is set if thin pool encounters serious failures and hence no further I/O
is permitted at all. The out of (\fBD\fP)ata space is set if thin pool has run out of
data space. (\fBM\fP)etadata read only signifies that thin pool encounters certain
2017-02-11 01:20:19 +03:00
types of failures but it's still possible to do reads at least,
but no metadata changes are allowed.
.IP
2021-04-15 14:16:41 +03:00
Related to Thin Logical Volumes: (\fBF\fP)ailed.
2017-02-11 01:20:19 +03:00
.br
2021-04-15 14:16:41 +03:00
(\fBF\fP)ailed is set when related thin pool enters Failed state and no further I/O
2017-02-11 01:20:19 +03:00
is permitted at all.
2020-02-26 01:20:05 +03:00
.IP
2021-04-15 14:16:41 +03:00
Related to writecache logical volumes: (\fBE\fP)rror.
2020-02-26 01:20:05 +03:00
.br
2021-04-15 14:16:41 +03:00
(\fBE\fP)rror is set dm-writecache reports an error.
2017-02-11 01:20:19 +03:00
.IP 10 3
2021-04-15 14:16:41 +03:00
s(\fBk\fP)ip activation: this volume is flagged to be skipped during activation.