[Bug 23835] Re: lilo + lvm2 don't work following upgrade to breezy

dino99 23835 at bugs.launchpad.net
Sun May 5 05:55:02 UTC 2013


outdated, dont got answer to #19 above

** Changed in: lilo-installer (Ubuntu)
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lilo-installer in Ubuntu.
https://bugs.launchpad.net/bugs/23835

Title:
  lilo + lvm2 don't work following upgrade to breezy

Status in “lilo-installer” package in Ubuntu:
  Invalid
Status in “lilo” package in Debian:
  Invalid

Bug description:
  I cannot upgrade the kernel because of this problem when I try to run
  lilo:

  root at hal:/dev # lilo
  Warning: '/proc/partitions' does not match '/dev' directory structure.
      Name change: '/dev/dm-0' -> '/dev/dm'
  device-mapper ioctl cmd 12 failed: No such device or address
  Fatal: device-mapper: dm_task_run(DM_DEVICE_TABLE) failed

  The system was installed from a Hoary CD, with all the partitions under LVM2
  (yes, including / and /boot). It worked fine. / and /boot are ext3 partitions.
  The problem above appeared after I upgraded to breezy, therefore it is a regression.

  I am not the only one having this problem:
  http://ubuntuforums.org/showthread.php?t=68971&highlight=device-mapper%3A+failed
  http://ubuntuforums.org/showthread.php?t=73979&highlight=device-mapper%3A+failed

  I have put this bug under lilo, but it could be a number of things:
  libdevmapper, udev (it is not setting up /dev/dm-* properly, see the warning
  message above), etc, and lilo just being a victim.

  Here's the relevant lilo.conf bits:

  boot=/dev/sda
  root=/dev/mapper/vg1-root

  And the relevant extract of vgdisplay -v:

  root at hal:/dev # vgdisplay -v
      Finding all volume groups
      Finding volume group "vg1"
    --- Volume group ---
    VG Name               vg1
    System ID
    Format                lvm2
    Metadata Areas        1
    Metadata Sequence No  12
    VG Access             read/write
    VG Status             resizable
    MAX LV                0
    Cur LV                8
    Open LV               8
    Max PV                0
    Cur PV                1
    Act PV                1
    VG Size               74.69 GB
    PE Size               4.00 MB
    Total PE              19120
    Alloc PE / Size       4771 / 18.64 GB
    Free  PE / Size       14349 / 56.05 GB
    VG UUID               GDWzzK-z7Sq-uZqH-QTxf-VK0A-oA2C-3IBNsD

    --- Logical volume ---
    LV Name                /dev/vg1/boot
    VG Name                vg1
    LV UUID                zl9pM3-STfo-QI0e-oX4D-ZCZe-IyTj-mSL04B
    LV Write Access        read/write
    LV Status              available
    # open                 1
    LV Size                52.00 MB
    Current LE             13
    Segments               1
    Allocation             inherit
    Read ahead sectors     0
    Block device           254:0

    --- Logical volume ---
    LV Name                /dev/vg1/root
    VG Name                vg1
    LV UUID                rNnNiW-R0cE-jj7t-5Kqf-n8q7-YVDP-8sMzL0
    LV Write Access        read/write
    LV Status              available
    # open                 1
    LV Size                300.00 MB
    Current LE             75
    Segments               1
    Allocation             inherit
    Read ahead sectors     0
    Block device           254:1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lilo-installer/+bug/23835/+subscriptions




More information about the foundations-bugs mailing list