init-premount/sysconfig_hardware does not online all DASDs in primary VG - drops to busybox initramfs prompt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools |
New
|
Undecided
|
Unassigned | ||
s390-dasd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Unsure if this is an initfs-tools issue, or s390-tools, or other?
Linux s4lpb 4.4.0-67-generic #88-Ubuntu SMP Wed Mar 8 16:39:07 UTC 2017 s390x s390x s390x GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
ii busybox-initramfs 1:1.22.0-15ubuntu1
ii initramfs-tools 0.122ubuntu8.8
ii initramfs-tools-bin 0.122ubuntu8.8
ii initramfs-
ii libklibc 2.0.4-8ubuntu1.
ii s390-tools 1.34.0-0ubuntu8.3
Brief description:
I have an s390x LPAR with multiple DASD disks in the 'system' VG - kernel param specifies root=/dev/
Begin: Running /scripts/
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... lvm
etad is not active yet, using direct activation during sysinit
Couldn't find device with uuid VudDPr-
Couldn't find device with uuid ySbAlW-
Refusing activation of partial LV system/root. Use '--activationmode partial'
to override.
lvmetad is not active yet, using direct activation during sysinit
Couldn't find device with uuid VudDPr-
Couldn't find device with uuid ySbAlW-
done.
Begin: Running /scripts/
Begin: Waiting for root file system ...
Begin: Running /scripts/
t activation during sysinit
Couldn't find device with uuid VudDPr-
Couldn't find device with uuid ySbAlW-
Running vgchange -ay at this point just causes the same error - the DASD disks still have not been brought online.
To replicate:
Create a volume group with 2 DASDS, e.g. /dev/dasda and /dev/dasdb.
Create a logical volume which you will mount as root, using slightly less space than is available on the first drive - then attempt to reboot a few times.
init-premount/
The preseed uses d-i partman to create LVM on the primary disk. Other DASDs are added manually by a script using dasdfmt, fdasd, chzdev.
Validated workaround:
Create a script, e.g.
/usr/
containing:
echo 1 > /sys/bus/
and then:
update-initramfs -u
All DASDS in the system VG are brought online by initramfs, allowing the lvm2 scripts in initramfs to work - I can then reboot the LPAR successfully.
affects: | initramfs-tools (Ubuntu) → s390-dasd (Ubuntu) |
tags: | added: s390x uosci |
description: | updated |
description: | updated |