1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/test
Heinz Mauelshagen f08ef23856 lvdisplay: enhance LV status output for raid(0)
In case legs of a raid0 LV are removed, the lvdisplay command still
reports 'available' though raid0 is not providing any resilience
compared to the other raid levels.

Also lvdisplay does not display '(partial)' in case of missing raid0
legs as oposed to the lvs command.

Enhance lvdisplay to report "NOT available" for any RaidLV type in case
too many legs are inaccessible hence causing data loss.  I.e. any leg
for raid0, all for raid1, more than 1 for raid4/5, more than 2 for raid6
and in case of completely lost mirror groups for raid10.

Add test/shell/lvdisplay-raid.sh.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1872678
2021-01-27 16:56:22 +01:00
..
api tests: disable dbustest with valgrind testing 2020-09-10 23:55:03 +02:00
dbus lvmdbusd: Add support for LVM writecache 2020-08-06 13:54:34 -05:00
lib tests: aux hides zero and error device 2020-10-02 22:27:00 +02:00
shell lvdisplay: enhance LV status output for raid(0) 2021-01-27 16:56:22 +01:00
unit bcache: use indirection table for fd 2020-09-18 15:10:11 -05:00
.gitignore test: add results/ to .gitignore 2016-12-10 18:00:25 +00:00
Makefile.in makefiles: document supported var in make help 2020-09-25 22:59:35 +02:00