[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"
** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to multipath-tools in Ubuntu. https://bugs.launchpad.net/bugs/1540401 Title: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"
--- Comment From mauri...@br.ibm.com 2016-03-03 09:46 EDT--- Excellent, Manju. Thanks. Marking verification-done. ** Tags removed: verification-done ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to multipath-tools in Ubuntu. https://bugs.launchpad.net/bugs/1540401 Title: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"
** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to multipath-tools in Ubuntu. https://bugs.launchpad.net/bugs/1540401 Title: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"
Hello bugproxy, or anyone else affected, Accepted multipath-tools into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/multipath- tools/0.4.9-3ubuntu7.10 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: multipath-tools (Ubuntu Trusty) Status: Triaged => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to multipath-tools in Ubuntu. https://bugs.launchpad.net/bugs/1540401 Title: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"
It's on my list, yes. The idea however is that I haven't uploaded it because it is so annoying to test these patches from a PPA, I uploaded the changes for xenial to the archive for further testing since it looked like it worked sufficiently to not break too many use cases. ** Also affects: multipath-tools (Ubuntu Trusty) Importance: Undecided Status: New ** Changed in: multipath-tools (Ubuntu Trusty) Status: New => Triaged ** Changed in: multipath-tools (Ubuntu Trusty) Importance: Undecided => Critical ** Changed in: multipath-tools (Ubuntu Trusty) Assignee: (unassigned) => Mathieu Trudel-Lapierre (mathieu-tl) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to multipath-tools in Ubuntu. https://bugs.launchpad.net/bugs/1540401 Title: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"
This bug was fixed in the package multipath-tools - 0.5.0-7ubuntu15 --- multipath-tools (0.5.0-7ubuntu15) xenial; urgency=medium [ Mauricio Faria de Oliveira ] * Remove partition device nodes of individual paths (for LVM on multipath) (LP: #1540401) - debian/multipath-tools.dm-mpath-lvm.udev: udev rule for that. - debian/initramfs/hooks: copy the udev rule and partx to the initramfs. - debian/initramfs/init-top: load the dm-multipath module for 'multipath -c'. - debian/rules: install the udev rule (priority 56: after 55-scsi-sg3_id) * debian/rules: don't ship 95-multipath.rules udev rules anymore; they are not necessary with multipath-tools listening for udev events directly. -- Mathieu Trudel-LapierreThu, 11 Feb 2016 19:08:14 -0500 ** Changed in: multipath-tools (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to multipath-tools in Ubuntu. https://bugs.launchpad.net/bugs/1540401 Title: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"
Hi @mathieu-tl, Here is the patch for Xenial. Differences from the patch for Trusty: 1) install udev rule with priority 56, so it's run after 55-scsi-sg3_id; this way the paths actually have scsi id udev attributes defined by the time 'multipath -c' runs, and now it works fine (fixes the issue you mentioned on IRC). 2) remove the old multipath discovery udev rule (just like you applied for trusty, on multipath-tools 0.4.9-3ubuntu7.5) 3) debian/initramfs/init-top already exists, so just insert the snippet to load the module (rather than create the file). Test-case: 1) Boot a qemu-kvm guest [1] w/ xenial (LVM on top of multipath) w/ the break=pre-multipath boot option 2) exit all 3 initramfs prompts 3) this should make LVM scan run before multipath discovery; the latter fails to create the devmap, thus mpartX-part2 (for /boot) is not present, and the boot is interrupted. ... (initramfs) exit ... (initramfs) exit ... (initramfs) exit ... [ 82.361944] device-mapper: table: 252:3: multipath: error getting device [ 82.362292] device-mapper: table: 252:2: multipath: error getting device [ 82.399493] device-mapper: table: 252:3: multipath: error getting device [ OK ] Found device /dev/mapper/mauricfo4--vg-swap_1. Activating swap /dev/mapper/mauricfo4--vg-swap_1... [ OK ] Activated swap /dev/mapper/mauricfo4--vg-swap_1. [ OK ] Reached target Swap. [ TIME ] Timed out waiting for device dev-mapper-mpatha\x2dpart2.device. [DEPEND] Dependency failed for /boot. [DEPEND] Dependency failed for Local File Systems. [DEPEND] Dependency failed for Clean up any mess left by 0dns-up. [DEPEND] Dependency failed for File System Check on /dev/mapper/mpatha-part2. ... Welcome to emergency mode! After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to try again to boot into default mode. Press Enter for maintenance (or press Control-D to continue): root@mauricfo4:~# lvm pvdisplay | grep Name Found duplicate PV hWoIFGkvc0iVrbZnzhhqxud6QTeotfmQ: using /dev/sda3 not /dev/sdb3 Using duplicate PV /dev/sda3 without holders, ignoring /dev/sdb3 Found duplicate PV hWoIFGkvc0iVrbZnzhhqxud6QTeotfmQ: using /dev/sda3 not /dev/sdb3 Using duplicate PV /dev/sda3 without holders, ignoring /dev/sdb3 PV Name /dev/sda3 VG Name mauricfo4-vg With the patch applied, the partition nodes are removed, LVM only scans the multipath devices, and the boot finishes successfully: ... (initramfs) exit ... (initramfs) ls -l /dev/sd* brw---18, 16 /dev/sdb brw---18, 0 /dev/sda initramfs) dmsetup table No devices found (initramfs) exit ... (initramfs) dmsetup table | sort mauricfo4--vg-root: 0 63750144 linear 252:3 2048 mauricfo4--vg-swap_1: 0 2834432 linear 252:3 63752192 mpatha-part1: 0 14336 linear 252:0 2048 mpatha-part2: 0 499712 linear 252:0 16384 mpatha-part3: 0 66590720 linear 252:0 516096 mpatha: 0 67108864 multipath 0 0 2 1 round-robin 0 1 1 8:0 1 round-robin 0 1 1 8:16 1 (initramfs) lvm pvdisplay | grep Name ... PV Name /dev/mapper/mpatha-part3 VG Name mauricfo4-vg (initramfs) exit ... # lsb_release -c Codename: xenial # mount | grep ' / ' /dev/mapper/mauricfo4--vg-root on / type ext4 (rw,relatime,errors=remount-ro,data=ordered) # lvm pvdisplay | grep Name PV Name /dev/mapper/mpatha-part3 VG Name mauricfo4-vg # dmsetup ls --tree -o blkdevname mauricfo4--vg-swap_1 (252:5) └─mpatha-part3 (252:3) └─mpatha (252:0) ├─ (8:16) └─ (8:0) mpatha-part2 (252:2) └─mpatha (252:0) ├─ (8:16) └─ (8:0) mpatha-part1 (252:1) └─mpatha (252:0) ├─ (8:16) └─ (8:0) mauricfo4--vg-root (252:4) └─mpatha-part3 (252:3) └─mpatha (252:0) ├─ (8:16) └─ (8:0) [1] qemu command line: commandline: qemu-system-ppc64 -enable-kvm -nographic -nodefaults -monitor stdio -serial pty -M pseries -smp 1,cores=1,threads=1 -m 8G -drive file=disk.qcow2,serial=xenialroot -drive file=disk.qcow2,serial=xenialroot -S ** Patch added: "Patch for Xenial" https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+attachment/4569667/+files/multipath-tools_dm-mpath-lvm_xenial.debdiff -- You received this bug notification because you
[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"
** Package changed: ubuntu => multipath-tools (Ubuntu) ** Changed in: multipath-tools (Ubuntu) Importance: Undecided => Critical -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to multipath-tools in Ubuntu. https://bugs.launchpad.net/bugs/1540401 Title: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"
** Changed in: multipath-tools (Ubuntu) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to multipath-tools in Ubuntu. https://bugs.launchpad.net/bugs/1540401 Title: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"
Hi @mathew-hodson, In case it helps, I believe this bug is likely to be assigned to @mathieu-tl. We've been working on these sort of problems, and talked about a tentative 14.04.4 milestone. Thanks! PS. Deleted previous attachment/patch version. ** Patch removed: "Patch for booting with LVM on multipath devices" https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+attachment/4563337/+files/multipath-tools_dm-mpath-lvm.debdiff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to multipath-tools in Ubuntu. https://bugs.launchpad.net/bugs/1540401 Title: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"
** Changed in: multipath-tools (Ubuntu) Assignee: Taco Screen team (taco-screen-team) => Mathieu Trudel-Lapierre (mathieu-tl) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to multipath-tools in Ubuntu. https://bugs.launchpad.net/bugs/1540401 Title: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"
This isn't obvious to reproduce. So far, I haven't had the system fail to boot or fail to mount all partitions. I have been testing *without* multipath-tools 0.4.9-3ubuntu7.8; so not using multipathd in the initramfs. I suppose it may be that I'm using a partitioning that happens to work? Could you please add the output of: sudo dmsetup ls --tree -o blkdevname No failure after 20 reboots: mpath0-part1 (252:2) └─mpath0 (252:0) ├─ (8:16) └─ (8:0) mpath1 (252:1) ├─ (8:48) └─ (8:32) trusty-boot (252:6) └─mpath0-part2 (252:3) └─mpath0 (252:0) ├─ (8:16) └─ (8:0) trusty-swap (252:5) └─mpath0-part2 (252:3) └─mpath0 (252:0) ├─ (8:16) └─ (8:0) trusty-root (252:4) └─mpath0-part2 (252:3) └─mpath0 (252:0) ├─ (8:16) └─ (8:0) My test system is indeed a ppc64el qemu VM using spapr-vscsi. Will setup a new system using snapshot to test with multipath-tools 0.4.9-3ubuntu7.8. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to multipath-tools in Ubuntu. https://bugs.launchpad.net/bugs/1540401 Title: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs