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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1650300

Title:
  ubuntu-installer/partman does not properly detect partitions on FBA
  device

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1650300/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to