Hi, This week I finally got a handle on a very annoying partitioning error that can occur when installing on a system that already had software RAID devices before starting the installation. When a pre-existing RAID is activated, only /dev/mdX block device file are created and not /dev/md/X and only the latter were being allowed for in a check in partman-lvm. The patch below fixes this. Please approve for inclusion in the next point release. Cheers, FJP Index: debian/changelog =================================================================== --- debian/changelog (revision 52382) +++ debian/changelog (revision 52383) @@ -1,3 +1,11 @@ +partman-lvm (53etch1) UNRELEASED; urgency=low + + * Do not only exclude /dev/md/X devices, but also /dev/mdX devices for + LVM sync flag handling. This solves a bug where libparted can complain + it cannot commit changes to a RAID device (for example #470374). + + -- Frans Pop <firstname.lastname@example.org> Thu, 03 Apr 2008 07:50:53 +0200 + partman-lvm (53) unstable; urgency=low * Fix syntax error resulting in failure to set partition type. Index: update.d/lvm_sync_flag =================================================================== --- update.d/lvm_sync_flag (revision 52382) +++ update.d/lvm_sync_flag (revision 52383) @@ -29,7 +29,7 @@ # This is in line with the hacks in init.d/lvm and undo.d/lvm. if [ -f device ]; then case $(cat device) in - /dev/md/*) + /dev/md*) exit 0 ;; esac fi
Description: This is a digitally signed message part.