[Bug 1441930] Re: Fix handling of multipathed disks with 4k-sectors
Launchpad Bug Tracker
1441930 at bugs.launchpad.net
Tue Jul 28 17:41:40 UTC 2015
This bug was fixed in the package multipath-tools - 0.4.9-3ubuntu7.4
---------------
multipath-tools (0.4.9-3ubuntu7.4) trusty; urgency=medium
* Remove 0024-ignore-usb.patch: Ignore USB devices. Verification fails
for this fix; it needs more work.
multipath-tools (0.4.9-3ubuntu7.3) trusty; urgency=medium
* Added debian/patches/0015-shared-lock-for-udev.patch (LP: #1431650)
* Support disks with non 512-byte sectors (LP: #1441930)
* Correctly write FC timeout attributes to sysfs. (LP: #1435706)
* Ignore USB devices. (LP: #1468897)
-- Mathieu Trudel-Lapierre <mathieu-tl at ubuntu.com> Mon, 27 Jul 2015
13:48:39 -0400
** Changed in: multipath-tools (Ubuntu Trusty)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to parted in Ubuntu.
https://bugs.launchpad.net/bugs/1441930
Title:
Fix handling of multipathed disks with 4k-sectors
Status in multipath-tools package in Ubuntu:
Fix Released
Status in parted package in Ubuntu:
Fix Released
Status in multipath-tools source package in Trusty:
Fix Released
Status in parted source package in Trusty:
Fix Released
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,file=../../iso/vivid-server-ppc64el.iso.0408 \
\
-drive file=disk.img,if=none,cache=none,serial=my-serial,id=drive0 \
-drive file=disk.img,if=none,cache=none,serial=my-serial,id=drive1 \
-device scsi-hd,physical_block_size=4096,logical_block_size=4096,drive=drive0 \
-device scsi-hd,physical_block_size=4096,logical_block_size=4096,drive=drive1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1441930/+subscriptions
More information about the foundations-bugs
mailing list