[Bug 1864677] Re: Grub Installer error for multipath disk
Andrew Cloke
andrew.cloke at canonical.com
Fri Mar 27 10:25:56 UTC 2020
** Tags added: installer
--
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