Fix handling of multipathed disks with 4k-sectors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
multipath-tools (Ubuntu) |
Fix Released
|
High
|
Mathieu Trudel-Lapierre | ||
Trusty |
Fix Released
|
High
|
Mathieu Trudel-Lapierre | ||
parted (Ubuntu) |
Fix Released
|
High
|
Mathieu Trudel-Lapierre | ||
Trusty |
Fix Released
|
High
|
Mathieu Trudel-Lapierre |
Bug Description
The packages for libparted and kpartx don't have the patches for using multipath (actually device-mapper) on 4k-sector disks (generally: 'non 512-byte sector disks')
This causes the number of sectors of each device-mapper partition to be 1/8th (512/4096) of that expected.
These 3 errors were identified:
1) Partition sizes on multipath are 1/8th of the intended size
2) The filesystem on the underlying device is not-accessible (only in the dm mapped device)
3) grub-install fails w/ 'Unknown filesystem'
The 2 patches attached contains upstream patches from parted and multipath-tools, and fix the issues (the installation finishes without errors and the system boots).
QEMU/KVM
--------
If you don't have 4k-sector disks handy :)
An example for multipath on 4k-sector disks, with 2 underlying devices:
$ qemu-img create -f raw disk.img 16g
$ qemu-system-ppc64 -enable-kvm \
-nographic -nodefaults \
-monitor stdio -serial pty \
-M pseries -m 2G \
-net nic -net user \
-drive media=cdrom,
\
-drive file=disk.
-drive file=disk.
-device scsi-hd,
-device scsi-hd,
Changed in parted (Ubuntu): | |
status: | New → In Progress |
Changed in multipath-tools (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in parted (Ubuntu): | |
importance: | Undecided → High |
Changed in multipath-tools (Ubuntu): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in parted (Ubuntu): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in multipath-tools (Ubuntu Trusty): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in parted (Ubuntu Trusty): | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → ubuntu-14.04.3 |
Changed in multipath-tools (Ubuntu Trusty): | |
milestone: | none → ubuntu-14.04.3 |
Changed in parted (Ubuntu Trusty): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in multipath-tools (Ubuntu Trusty): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in parted (Ubuntu Trusty): | |
status: | Triaged → In Progress |
The attachment "multipath- tools_non512Bse ctors.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]