I think I should add a condition in partman-partitioning that checks /proc/dasd/devices to see if the drive with `dasd` label is FBA, and if so, fallback to msdos partioning table. I'm not sure if FBA drive via virtio in KVM has /proc/dasd/devices with the right information or not. I guess using BIODASDINFO ioctl is better.
However, shouldn't the GNU parted use BIODASDINFO ioctl and report/export dasd_info.type such that partman-partioning can use that? Or e.g. not set `dasd` label when dasd_info.type != "ECKD" (same logic as fdasd)?
Hello,
I think I should add a condition in partman- partitioning that checks /proc/dasd/devices to see if the drive with `dasd` label is FBA, and if so, fallback to msdos partioning table. I'm not sure if FBA drive via virtio in KVM has /proc/dasd/devices with the right information or not. I guess using BIODASDINFO ioctl is better.
However, shouldn't the GNU parted use BIODASDINFO ioctl and report/export dasd_info.type such that partman-partioning can use that? Or e.g. not set `dasd` label when dasd_info.type != "ECKD" (same logic as fdasd)?
Regards,
Dimitri.