md: third RAID partition spans over full disk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
reproduction:
.) Install Lucid ( I have used netboot via USB)
.) only one SATA disk is installed on this system,
.) create 3 partitions on this disk, all are type RAID ( "fd")
.) use RAID Manager during installation to create 3 mirror devices
( raid1, 2 devices - one missing , 0 spare)
create file-systems on these mirror devices ( md0, md1, md2 )
first is "/" ( root) ext4
second is "swap"
third is a data disk ( "/data) ext4
on the shell you can check after creation, that all 3 partitions are created correctly:
#------
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid1 sda1[0]
29295552 blocks [2/1] [U_]
md1 : active raid1 sda2[0]
1952704 blocks [2/1] [U_]
md3 : active raid1 sda3[0]
461952704 blocks [2/1] [U_]
unused devices: <none>
#------
install the Lucid, reboot
after reboot there is a surprise:
a) /data partition ( md2) fails to mount with error "... block mismatch..."
b) if you check more details you will see that md2 spans the full disk ( /dev/sda)
more /proc/mdstat looks completely different after reboot:
#------
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid1 md2p1[0]
29295552 blocks [2/1] [U_]
md1 : active raid1 md2p2[0]
1952704 blocks [2/1] [U_]
md3 : active raid1 sda[0]
461952704 blocks [2/1] [U_]
unused devices: <none>
#------
Attached data is from a installed system where above problem is not seen, because only 2 md partions
are created ( 3rd partiton is now a LVM partiton/volume group )
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-
Regression: Yes
Reproducible: Yes
ProcVersionSign
Uname: Linux 2.6.32-22-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
AplayDevices: Error: [Errno 2] No such file or directory
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info: Error: [Errno 2] No such file or directory
Card0.Amixer.
Card1.Amixer.info: Error: [Errno 2] No such file or directory
Card1.Amixer.
CurrentDmesg:
[ 16.416015] eth0: no IPv6 routers present
[ 1066.420214] r8169: eth0: link down
[ 1070.947774] r8169: eth0: link up
Date: Sat May 15 18:18:04 2010
HibernationDevice: RESUME=
IwConfig:
lo no wireless extensions.
eth0 no wireless extensions.
MachineType: Unknow Unknow
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
RelatedPackageV
RfKill:
SourcePackage: linux
dmi.bios.date: 09/16/2009
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F11
dmi.board.name: RS780-SB700
dmi.board.version: Unknox
dmi.chassis.type: 3
dmi.chassis.vendor: Unknow
dmi.chassis.
dmi.modalias: dmi:bvnAwardSof
dmi.product.name: Unknow
dmi.product.
dmi.sys.vendor: Unknow
tags: | added: kj-triage |
Hi Martin,
This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http:// cdimage. ubuntu. com/releases/ .
If it remains an issue, could you run the following command from a Terminal (Applications- >Accessories- >Terminal) . It will automatically gather and attach updated debug information to this report.
apport-collect -p linux 581022
Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https:/ /wiki.ubuntu. com/KernelMainl ineBuilds . Once you've tested the upstream kernel, please remove the 'needs- upstream- testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs- upstream- testing' text. Please let us know your results.
Thanks in advance.
[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]