mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Reported issue:
\# lsblk
sdc 8:32 0 20G 0 disk
|-sdc1 8:33 0 20G 0 part
`-mpatha 253:1 0 20G 0 mpath
`-mpatha1 253:17 0 20G 0 part
sdd 8:48 0 20G 0 disk
|-sdd1 8:49 0 20G 0 part
`-mpatha 253:1 0 20G 0 mpath
`-mpatha1 253:17 0 20G 0 part
\# zipl -d /dev/mapper/mpatha1
Success
\# zgetdump -d /dev/mapper/mpatha
zgetdump: No dump tool found on "/dev/mapper/mpatha"
The root cause is in incorrect logical device resolution:
\# zipl_helper.device-mapper 253:17
Expected result:
targetbase=253:1
targettype=SCSI
targetblocksize=512
targetoffset=2048
Actual result:
targetbase=8:48
targettype=SCSI
targetblocksize=512
targetoffset=2048
Do not resolve dm device which provides access to boot sectors.
Fixes: 3db20bccef ("zipl_helper.device-mapper: Add missed step in logical device resolution")
Signed-off-by: Eduard Shishkin <edward6@linux.ibm.com>
Reported-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Tested-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Acked-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>