Aurelien Naldi writes ("[Bug 83832] [feisty] mounting LVM root broken"):
> running an up to date feisty, I can not boot on my RAID/LVM root
> partition. I previously had bug #75681 which seems fixed now
> (/dev/md0 is created automatically again) but the LVM volumes are
> not activated by the initramfs anymore.  In the initramfs shell I
> can not find "/scripts/local-top/lvm" anymore.

We have indeed changed this but it is supposed to work better now and
not break :-).

I have some questions:

 * Which versions of
     lvm2
     lvm-common
     udev
     libdevmapper1.02
     devmapper
   do you have installed ?

 * While it's broken, boot with break=premount, and do this:
        udevd --verbose >/tmp/udev-output 2>&1 &
        udevtrigger
   At this point I think you will find that your mds and lvms
   are not activated; check with
        cat /proc/partitions
   If as I assume they aren't:
        pkill udevd
        lvm vgscan
        lvm vgchange -a y
        mount /dev/my-volume-group/my-volume-name /root

   If as you say this doesn't work, check the major and minor numbers
   and symlinks shown by
        ls -al /dev/mapper
        ls -al /dev/.static/dev/mapper
        ls -al /dev/my-volume-group
        ls -al /dev/.static/dev/my-volume-group
        dmsetup ls
   and the output from
        dmsetup table
   and perhaps
        mount /dev/.static/dev/mapper/vg-lv /root

   When you've got it mounted
        cp /tmp/udev-output* /root/root/.
        exit
   And then when the system boots attach /root/udev-output* and your
   initramfs to this bug report.

 * Does running
     sudo update-initramfs
   fix it ?  (If you didn't attach it to this bug report as I ask
   above please keep a copy of the old initramfs so we can peer
   at its entrails.)

Thanks,
Ian.

-- 
[feisty] mounting LVM root broken
https://launchpad.net/bugs/83832

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to