]> sourceware.org Git - lvm2.git/commit
lvchange: Allow device specification when requesting a repair
authorHeinz Mauelshagen <heinzm@redhat.com>
Fri, 5 Aug 2016 13:54:49 +0000 (15:54 +0200)
committerHeinz Mauelshagen <heinzm@redhat.com>
Fri, 5 Aug 2016 14:01:46 +0000 (16:01 +0200)
commitd2c3b23e6dc39565093256c97ff66984e8648bda
tree6bd71a8f37bed9a3d74bdf2da49188acffb02d54
parent91f866f7866eed6eb8ead5a876efcac5a58511da
lvchange: Allow device specification when requesting a repair

'lvchange --resync LV' or 'lvchange --syncaction repair LV' request the
RAID layout specific parity blocks in raid4/5/6 to be recreated or the
mirrored blocks to be copied again from the master leg/copy for raid1/10,
thus not allowing a rebuild of a particular PV.

Introduce repeatable option '--[raid]rebuild PV' to allow to request
rebuilds of specific PVs in a RaidLV which are known to contain corrupt
data (e.g. rebuild a raid1 master leg).

Add test lvchange-rebuild-raid.sh to test/shell doing rebuild
variations on raid1/10 and 5; add aux function check_status_chars
to support the new test.

 - Resolves rhbz1064592
lib/metadata/metadata-exported.h
lib/metadata/raid_manip.c
man/lvchange.8.in
test/lib/aux.sh
tools/args.h
tools/commands.h
tools/lvchange.c
tools/lvmcmdline.c
This page took 0.039856 seconds and 5 git commands to generate.