[Bug 1864677] Re: Grub Installer error for multipath disk
Mike Ranweiler
1864677 at bugs.launchpad.net
Mon Mar 16 14:30:27 UTC 2020
I tried this on the netboot DI image on a boston (9006-12C) and I got
similar results:
┌───────┤ [!!] Install the GRUB boot loader on a hard disk ├────────┐
│ │
│ Installation step failed │
│ An installation step failed. You can try to run the failing item │
│ again from the menu, or skip it and choose something else. The │
│ failing step is: Install the GRUB boot loader on a hard disk │
│ │
│ <Continue> │
│
~ # ls -lh /dev/mapper/mpatha*
lrwxrwxrwx 1 root root 7 Mar 14 00:01 /dev/mapper/mpatha -> ../dm-0
lrwxrwxrwx 1 root root 8 Mar 14 00:01 /dev/mapper/mpatha-part1 -> ../dm-85
lrwxrwxrwx 1 root root 8 Mar 14 00:01 /dev/mapper/mpatha-part2 -> ../dm-86
<snip>
I wasn't able to recover it the same way, though, which may be another
issue (it has quite a lot of I/O attached). I will try the ubiquity
installer on it, too.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1864677
Title:
Grub Installer error for multipath disk
Status in The Ubuntu-power-systems project:
New
Status in grub2 package in Ubuntu:
New
Bug description:
Installing daily focal from Feb 21 2020.
IBM 8284-22A PowerVM 3.1.1.10
Multipath Virtual SCSI drives provided by Shared Storage Pool from VIO 1 & 2
Upon getting to the installing grub boot loader, grub-probe failes
with canonical error about unable to find /dev/mapper/mpatha2
Exiting to shell I find:
/dev/mapper/mpatha-part2 , not /dev/mapper/mpatha2
kpartx -a /dev/mapper/mpatha rebuilds the devices
Exit shell,
grub installer completes, system reboots.
After reboot, error:
Gave up waiting for root file system device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/mapper/mpatha2 does not exist. Dropping to a shell!
Dropped to shell, ran kpartx -a /dev/mapper/mpatha, exit shell and OS
boots up as normal.
There's a confusion between what the OS is looking for and what is
getting created from kpartx during udev?
(initramfs) cd /dev/mapper
(initramfs) ls -l
crw------- 1 10, 236 control
lrwxrwxrwx 1 7 mpatha -> ../dm-0
lrwxrwxrwx 1 7 mpatha-part1 -> ../dm-1
lrwxrwxrwx 1 7 mpatha-part2 -> ../dm-2
(initramfs) kpartx -a /dev/mapper/mpatha
(initramfs) ls -l
crw------- 1 10, 236 control
lrwxrwxrwx 1 7 mpatha -> ../dm-0
lrwxrwxrwx 1 7 mpatha1 -> ../dm-1
lrwxrwxrwx 1 7 mpatha2 -> ../dm-2
aixadmin at ubuntu:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Focal Fossa (development branch)"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
aixadmin at ubuntu:~$ uname -a
Linux ubuntu 5.4.0-14-generic #17-Ubuntu SMP Thu Feb 6 22:47:13 UTC 2020 ppc64le ppc64le ppc64le GNU/Linux
aixadmin at ubuntu:~$ date
Tue 25 Feb 2020 11:47:28 AM EST
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1864677/+subscriptions
More information about the foundations-bugs
mailing list