[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#499285: debian-installer: A reinstall of a machine that used LVM over software RAID had partitioning problems



On Wed, Sep 17, 2008 at 11:08:31PM +1000, Russell Coker wrote:
> I have a machine that had been used in a Linux Software RAID-1
> configuration with LVM running on top of the RAID.  The Debian Installer
> recognised the LVM devices which in most cases is a good thing.
> 
> But having LVM enabled it was unable to cease all kernel access to the
> partitions for the purpose of getting the kernel to recognise the new
> partitions I created (I decided I wanted a slightly different RAID
> installation for the rebuild).

Did you remove all Logical Volumes, Volume Groups and Physical Volumes
before changing the RAID 1 partitions?

partman have a locking mechanism that is already used for crypto that
prevent such problems by not allowing partitions in use to be changed.
Unfortunately, the changes required to use this mechanism for RAID are
too invasive for Lenny (two d-i components needs to be merged before
adding the feature).

Cheers,
-- 
Jérémy Bobbio                        .''`. 
lunar@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   

Attachment: signature.asc
Description: Digital signature


Reply to: