Ubuntu 10.10 2.6.35-28 kernel does not assemble md devices correctly.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mdadm
I'm on Ubuntu 10.10, when I tried to boot with the 2.6.35-28 kernel, for some reason on boot md tries to assemble my devices incorrectly, using the whole devices rather than the partitions. The software raid device starts, but then LVM cannot find the disk group.
e.g. Here is the output from dmesg on the 2.6.35-27 kernel, which does work properly:
md/raid:md0: device sdf1 operational as raid disk 1
md/raid:md0: device sde1 operational as raid disk 0
md/raid:md0: device sdd1 operational as raid disk 2
md/raid:md0: allocated 3179kB
md/raid:md0: raid level 5 active with 3 out of 3 devices, algorithm 2
RAID conf printout:
--- level:5 rd:3 wd:3
disk 0, o:1, dev:sde1
disk 1, o:1, dev:sdf1
disk 2, o:1, dev:sdd1
md0: detected capacity change from 0 to 2000407494656
md0: unknown partition table
Here is the output form 2.6.35-28 which does not work properly:
md/raid:md0: device sdd operational as raid disk 2
md/raid:md0: device sdf operational as raid disk 1
md/raid:md0: device sde operational as raid disk 0
md/raid:md0: allocated 3179kB
md/raid:md0: raid level 5 active with 3 out of 3 devices, algorithm 2
RAID conf printout:
--- level:5 rd:3 wd:3
disk 0, o:1, dev:sde
disk 1, o:1, dev:sdf
disk 2, o:1, dev:sdd
md0: detected capacity change from 0 to 2000407494656
md0: p1
My md0 device should not have a p1 partition on it!
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: mdadm 2.6.7.1-1ubuntu16
ProcVersionSign
Uname: Linux 2.6.35-
NonfreeKernelMo
Architecture: i386
Date: Tue Jun 14 09:07:35 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
MDadmExamine.
Error: command ['/sbin/mdadm', '-E', '/dev/sdb'] failed with exit code 1: mdadm: metadata format 00.90 unknown, ignored.
mdadm: metadata format 00.90 unknown, ignored.
mdadm: No md superblock detected on /dev/sdb.
MDadmExamine.
Error: command ['/sbin/mdadm', '-E', '/dev/sdb1'] failed with exit code 1: mdadm: metadata format 00.90 unknown, ignored.
mdadm: metadata format 00.90 unknown, ignored.
mdadm: No md superblock detected on /dev/sdb1.
MDadmExamine.
Error: command ['/sbin/mdadm', '-E', '/dev/sdb2'] failed with exit code 1: mdadm: metadata format 00.90 unknown, ignored.
mdadm: metadata format 00.90 unknown, ignored.
mdadm: No md superblock detected on /dev/sdb2.
MDadmExamine.
Error: command ['/sbin/mdadm', '-E', '/dev/sdb5'] failed with exit code 1: mdadm: metadata format 00.90 unknown, ignored.
mdadm: metadata format 00.90 unknown, ignored.
mdadm: No md superblock detected on /dev/sdb5.
MDadmExamine.
Error: command ['/sbin/mdadm', '-E', '/dev/sdb6'] failed with exit code 1: mdadm: metadata format 00.90 unknown, ignored.
mdadm: metadata format 00.90 unknown, ignored.
mdadm: No md superblock detected on /dev/sdb6.
MDadmExamine.
Error: command ['/sbin/mdadm', '-E', '/dev/sdb7'] failed with exit code 1: mdadm: metadata format 00.90 unknown, ignored.
mdadm: metadata format 00.90 unknown, ignored.
mdadm: No md superblock detected on /dev/sdb7.
MachineType: System manufacturer P5K-E
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
PATH=(custom, user)
LANG=en_CA.utf8
SHELL=/bin/bash
SourcePackage: mdadm
dmi.bios.date: 10/31/2007
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0806
dmi.board.
dmi.board.name: P5K-E
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: P5K-E
dmi.product.
dmi.sys.vendor: System manufacturer
etc.blkid.tab: Error: [Errno 2] No such file or directory: '/etc/blkid.tab'
I apologize in advance for filing this against mdadm; perhaps the kernel would have been a more appropriate package to file this against.