master - RAID: Properly handle resync of RAID LVs
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=4ededc698f32a4cbabaf70bfd3835abab866cbb9 Commit: 4ededc698f32a4cbabaf70bfd3835abab866cbb9 Parent: a2d9b1a7e92aab78c80be0e0cbd45fde00d42aa4 Author: Jonathan Brassow <[email protected]> AuthorDate: Tue Sep 11 13:09:35 2012 -0500 Committer: Jonathan Brassow <[email protected]> CommitterDate: Tue Sep 11 13:09:35 2012 -0500
RAID: Properly handle resync of RAID LVs
Issuing a 'lvchange --resync <VG>/<RAID_LV>' had no effect. This is because the code to handle RAID LVs was not present. This patch adds the code that will clear the metadata areas of RAID LVs - causing them to resync upon activation.
--- WHATS_NEW | 1 + tools/lvchange.c | 51 +++++++++++++++++++++++++++++++++++++-------------- 2 files changed, 38 insertions(+), 14 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.98 - ================================= + Properly handle 'resync' of RAID LVs. Disallow addition of RAID images until the array is in-sync. Fix RAID LV creation with '--test' so valid commands do not fail. Add lvm_lv_rename() to lvm2api.
tools/lvchange.c +37 -14
93 lines not on this page · raw message