[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
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1441930

Title:
  Fix handling of multipathed disks with 4k-sectors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1441930/+subscriptions



More information about the Ubuntu-server-bugs mailing list