[Bug 1441930] Re: Fix handling of multipathed disks with 4k-sectors
Mauricio Faria de Oliveira
mauricfo at linux.vnet.ibm.com
Thu Apr 9 16:04:19 UTC 2015
BTW, but not too important:
There's a quite repetitive verbose output during update-grub, mentioning:
ERROR: unsupported sector size 4096 on <partition>.
It happens because os-prober calls dmraid for every partition, but it doesn't support 4k sectors, and yields to stderr.
A simple redirect quiets it up.
... I'm not sure it should be quieted up :) feel free to modify the scripts if you think so, or tell me and I can submit another patch.
~ # dmraid -r -c
ERROR: unsupported sector size 4096 on /dev/sda.
ERROR: unsupported sector size 4096 on /dev/sdb.
ERROR: unsupported sector size 4096 on /dev/sdc.
ERROR: unsupported sector size 4096 on /dev/sdd.
ERROR: unsupported sector size 4096 on /dev/sde.
ERROR: unsupported sector size 4096 on /dev/sdf.
ERROR: unsupported sector size 4096 on /dev/sdg.
ERROR: unsupported sector size 4096 on /dev/sdh.
ERROR: unsupported sector size 4096 on /dev/sdi.
ERROR: unsupported sector size 4096 on /dev/sdj.
ERROR: unsupported sector size 4096 on /dev/sdk.
ERROR: unsupported sector size 4096 on /dev/sdl.
ERROR: unsupported sector size 4096 on /dev/dm-0.
ERROR: unsupported sector size 4096 on /dev/dm-1.
ERROR: unsupported sector size 4096 on /dev/dm-2.
ERROR: unsupported sector size 4096 on /dev/dm-3.
ERROR: unsupported sector size 4096 on /dev/dm-4.
ERROR: unsupported sector size 4096 on /dev/dm-5.
ERROR: unsupported sector size 4096 on /dev/dm-6.
ERROR: unsupported sector size 4096 on /dev/dm-7.
ERROR: unsupported sector size 4096 on /dev/dm-8.
ERROR: unsupported sector size 4096 on /dev/dm-9.
ERROR: unsupported sector size 4096 on /dev/dm-10.
ERROR: unsupported sector size 4096 on /dev/dm-11.
ERROR: unsupported sector size 4096 on /dev/dm-12.
ERROR: unsupported sector size 4096 on /dev/dm-13.
ERROR: unsupported sector size 4096 on /dev/dm-14.
ERROR: unsupported sector size 4096 on /dev/dm-15.
ERROR: unsupported sector size 4096 on /dev/dm-16.
ERROR: unsupported sector size 4096 on /dev/dm-17.
no block devices found
~ #
~ # dmraid -r -c 2>/dev/null
no block devices found
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1441930
Title:
Fix handling of multipathed disks with 4k-sectors
Status in multipath-tools package in Ubuntu:
New
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).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1441930/+subscriptions
More information about the Ubuntu-sponsors
mailing list