[Bug 599515] Re: mdadm misdetects disks instead of partitions
Launchpad Bug Tracker
599515 at bugs.launchpad.net
Wed Nov 2 22:07:33 UTC 2011
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: debian-installer (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debian-installer in Ubuntu.
https://bugs.launchpad.net/bugs/599515
Title:
mdadm misdetects disks instead of partitions
Status in “debian-installer” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: mdadm
When building a RAID5 with mdadm mdadm confuses partitions and disks
if the partition ends with the disk.
Steps to reproduce: (in my case
1. Take 4 500G harddisks.
2. Add a 2 gigabyte partition to each of them
3. Use the rest as a logical partition for the raid
4. create a raid5 raid with /dev/sd?5
mdadm --misc --examine /dev/sd? will show precisely the same as
mdadm --misc --examine /dev/sd?5
On reboot the raid will use /dev/sd? instead of /dev/sd?5 either sd? will be inaccessable because another partition has been mounted before, resulting in a degrades raid, or after starting the raid other partitions will not be accessable.
Possible solution:
Fix mdadm so it first looks for superblocks on the partitions. If it found a superblock there, skip checking for the superblock of the device.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/599515/+subscriptions
More information about the foundations-bugs
mailing list