]> sourceware.org Git - lvm2.git/commit
vgsplit: Make RAID 4/5/6 fail cleanly when too few PV specified
authorJonathan Brassow <jbrassow@redhat.com>
Fri, 25 Apr 2014 21:24:50 +0000 (16:24 -0500)
committerJonathan Brassow <jbrassow@redhat.com>
Fri, 25 Apr 2014 21:24:50 +0000 (16:24 -0500)
commit3c4234f825c93c9cd61409ade9039ba4033c8008
tree6b1636fda95cf6bce69a295f86f2f08d953e87b4
parent4dffb9fca9dba16bba0ec41ecc16ed42fe2dd4cf
vgsplit: Make RAID 4/5/6 fail cleanly when too few PV specified

While the 'raid1/10' segment types were being handled inadvertently
by '_move_mirrors()', the parity RAIDs were not being properly checked
to ensure that the user had specified all necessary PVs when moving
them.  Thus, internal errors were being triggered when only part of
a RAID LV was moved to the new VG.  I've added a new function,
'_move_raid()', which properly checks over any affected RAID LVs and
ensures that all the necessary PVs are being moved.
WHATS_NEW
test/shell/vgsplit-operation.sh
tools/vgsplit.c
This page took 0.037609 seconds and 5 git commands to generate.