]> sourceware.org Git - lvm2.git/commit
Fix name conflicts that prevent down-converting RAID1 when specifying a device
authorJonathan Earl Brassow <jbrassow@redhat.com>
Thu, 15 Mar 2012 20:00:54 +0000 (20:00 +0000)
committerJonathan Earl Brassow <jbrassow@redhat.com>
Thu, 15 Mar 2012 20:00:54 +0000 (20:00 +0000)
commitdc7b1640edea796ff236be8594e5278383474c53
treec5af0e4cce20bf3783905109554e2e236db42bf4
parent08e846e3d9103156eb3458e6731f978415a934b0
Fix name conflicts that prevent down-converting RAID1 when specifying a device

When down-converting a RAID1 device, it is the last device that is extracted
and removed when the user does not specify a particular device.  However,
when a device is specified (and it is not the last), the device is removed and
the remaining sub-LVs are "shifted down" to fill the hole.  This cause problems
when resuming the LV because if the shifted devices were resumed (and thus
renamed) before the sub-LV being extracted, there would be a name conflict.
The solution is to resume the extracted sub-LVs first so that they can be
properly renamed preventing a possible conflict.

This addresses bug 801967.
WHATS_NEW
lib/metadata/raid_manip.c
test/shell/lvconvert-raid.sh
This page took 0.031831 seconds and 5 git commands to generate.