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

This is a discussion on Bug#499285: debian-installer: A reinstall of a machine that used LVM over software RAID had partitioning problems - Debian ; Package: debian-installer Version: daily build 16th Sep Severity: normal 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 ...

+ Reply to Thread
Results 1 to 5 of 5

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

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

    Package: debian-installer
    Version: daily build 16th Sep
    Severity: normal

    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).

    So when it gave errors about being unable to get the kernel to recognise
    the devices I rebooted and then it recognised the devices and allowed me
    to create a new software RAID installation.



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  2. 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
    `. `'`
    `-

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

    iD8DBQFI1Dc02PUjs9fQ72URAselAKDKC6OUmAPZHWw9tlS/saAKupWQBQCgx+pX
    TiObkou/cuarV1xD1oBGGaQ=
    =CfDU
    -----END PGP SIGNATURE-----


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

    On Saturday 20 September 2008 09:35, Jérémy Bobbio 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.



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  4. 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 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
    `. `'`
    `-

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

    iD8DBQFI1gFS2PUjs9fQ72URAsgOAJ0dm69SqYTN13sqdXwqek lY8Gl8iwCeM61X
    thkNBJfW8APTKPDJFv66J2o=
    =tgph
    -----END PGP SIGNATURE-----


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

    Processing commands for control@bugs.debian.org:

    > reassign 499285 partman-md

    Bug#499285: debian-installer: A reinstall of a machine that used LVM over software RAID had partitioning problems
    Bug reassigned from package `debian-installer' to `partman-md'.

    > retitle 499285 partman-md: should use partman locking mechanism

    Bug#499285: debian-installer: A reinstall of a machine that used LVM over software RAID had partitioning problems
    Changed Bug title to `partman-md: should use partman locking mechanism' from `debian-installer: A reinstall of a machine that used LVM over software RAID had partitioning problems'.

    > thanks

    Stopping processing here.

    Please contact me if you need assistance.

    Debian bug tracking system administrator
    (administrator, Debian Bugs database)


    --
    To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

+ Reply to Thread