md: third RAID partition spans over full disk

Bug #581022 reported by Martin Hofbauer
6
This bug affects 1 person
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-2.6.32-22-generic 2.6.32-22.33
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
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/controlC1', '/dev/snd/hwC1D0', '/dev/snd/pcmC1D3p', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D1c', '/dev/snd/pcmC0D1p', '/dev/snd/pcmC0D2c', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info: Error: [Errno 2] No such file or directory
Card0.Amixer.values: Error: [Errno 2] No such file or directory
Card1.Amixer.info: Error: [Errno 2] No such file or directory
Card1.Amixer.values: Error: [Errno 2] No such file or directory
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=UUID=26b009af-e066-4c81-990e-3347e9d024b0
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
MachineType: Unknow Unknow
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=df823d88-9744-4d72-be2c-f2120eab0188 ro quiet splash
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34
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.version: Unknow
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF11:bd09/16/2009:svnUnknow:pnUnknow:pvrUnknow:rvn:rnRS780-SB700:rvrUnknox:cvnUnknow:ct3:cvrUnknow:
dmi.product.name: Unknow
dmi.product.version: Unknow
dmi.sys.vendor: Unknow

Revision history for this message
Martin Hofbauer (mhansi12) wrote :
tags: added: kj-triage
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

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/KernelMainlineBuilds . 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.]

tags: added: needs-kernel-logs
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu development release http://cdimage.ubuntu.com/daily-live/current/ . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.