[Bug 581022] [NEW] md: third RAID partition spans over full disk
Martin Hofbauer
mhansi12 at gmail.com
Sat May 15 16:50:09 UTC 2010
Public bug reported:
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
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: i386 install lucid md needs-upstream-testing raid1 regression-release
--
md: third RAID partition spans over full disk
https://bugs.launchpad.net/bugs/581022
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.
More information about the kernel-bugs
mailing list