[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



reassign 499285 partman-md
retitle 499285 partman-md: should use partman locking mechanism
thanks

On Sun, Sep 21, 2008 at 06:36:30AM +1000, Russell Coker wrote:
> On Saturday 20 September 2008 09:35, Jérémy Bobbio <lunar@debian.org> wrote:
> > > 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?
> 
> No.  There were many LVs and it seemed a lot easier to just remove the RAID 
> devices.
> 
> > 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).
> 
> OK.
> 
> I'm happy for this one to be fixed in Lenny+1.

Indeed.  Reassigning this bug to partman-md to be sure to remember this
issue.

In the meantime, this issue should be documented in the installer errata.

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

Attachment: signature.asc
Description: Digital signature


Reply to: