]> sourceware.org Git - lvm2.git/commit
lvchange: allow a transiently failed RaidLV to be refreshed
authorHeinz Mauelshagen <heinzm@redhat.com>
Fri, 23 Dec 2016 02:35:13 +0000 (03:35 +0100)
committerHeinz Mauelshagen <heinzm@redhat.com>
Fri, 23 Dec 2016 02:41:32 +0000 (03:41 +0100)
commit95d68f1d0e16f553f4f12046ceb7b6ff8d251336
tree67e8e8c49832879d3580f3649db9e8bda846c6f2
parent62be9c8de430a054d5de9b652949f58a684a0cf6
lvchange: allow a transiently failed RaidLV to be refreshed

Add to commits 87117c2b2546 and 0b8bf73a63d8 to avoid refreshing two
times altogether, thus avoiding issues related to clustered, remotely
activated RaidLV.  Avoid need to repeat "lvchange --refresh RaidLV"
two times as a workaround to refresh a RaidLV.  Fix handles removal
of temporary *-missing-* devices created for any missing segments
in RAID SubLVs during activation.

Because the kernel dm-raid target isn't able to handle transiently
failing devices properly we need
"[dm-devel][PATCH] dm raid: fix transient device failure processing"
as well.

test: add lvchange-raid-transient-failures.sh
      and enhance lvconvert-raid.sh

Resolves: rhbz1025322
Related:  rhbz1265191
Related:  rhbz1399844
Related:  rhbz1404425
lib/activate/activate.c
lib/activate/activate.h
lib/metadata/lv_manip.c
test/shell/lvchange-raid-transient-failures.sh [new file with mode: 0644]
test/shell/lvconvert-raid.sh
This page took 0.03482 seconds and 5 git commands to generate.