dmraid and LVM are incompatible
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dmraid (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
lvm-common (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: dmraid
I have an Asus m2n-sli motherboard with nvidia raid chipset. I have setup my 2 seagate harddrives to mirror in the raid setup. I am dualbooting between windows xp and feisty. I installed successfully using the fakeraid howto. Here are some outputs of commands to get an idea of my layout.
root@ziggy:~# dmraid -s
*** Active Set
name : nvidia_ajafeffc
size : 625142400
stride : 128
type : mirror
status : ok
subsets: 0
devs : 2
spares : 0
root@ziggy:~# dmraid -l
asr : Adaptec HostRAID ASR (0,1,10)
ddf1 : SNIA DDF1 (0,1,4,5,linear)
hpt37x : Highpoint HPT37X (S,0,1,10,01)
hpt45x : Highpoint HPT45X (S,0,1,10)
isw : Intel Software RAID (0,1)
jmicron : JMicron ATARAID (S,0,1)
lsi : LSI Logic MegaRAID (0,1,10)
nvidia : NVidia RAID (S,0,1,10,5)
pdc : Promise FastTrack (S,0,1,10)
sil : Silicon Image(tm) Medley(tm) (0,1,10)
via : VIA Software RAID (S,0,1,10)
dos : DOS partitions on SW RAIDs
root@ziggy:~# fdisk -l /dev/mapper/
Disk /dev/mapper/
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
root@ziggy:~# fdisk -l /dev/sda
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 5099 40957686 7 HPFS/NTFS
/dev/sda2 5100 9969 39118275 8e Linux LVM
/dev/sda3 9970 9982 97656+ 83 Linux
/dev/sda4 9983 38913 232388257+ 7 HPFS/NTFS
root@ziggy:~# fdisk -l /dev/sdb
Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 5099 40957686 7 HPFS/NTFS
/dev/sdb2 5100 9969 39118275 8e Linux LVM
/dev/sdb3 9970 9982 97656+ 83 Linux
/dev/sdb4 9983 38913 232388257+ 7 HPFS/NTFS
root@ziggy:~# cat /etc/fstab
# UNCONFIGURED FSTAB FOR BASE SYSTEM
proc /proc proc rw 0 0
/dev/volgroup/root / ext3 defaults,
/dev/volgroup/swap none swap sw 0 0
/dev/mapper/
/dev/mapper/
root@ziggy:~# dmraid -ay
RAID set "nvidia_ajafeffc" already active
ERROR: opening "/dev/.
output of revelant menu.lst from grub
title Ubuntu, kernel 2.6.20-16-generic
root (hd0,2)
kernel /vmlinuz-
initrd /initrd.
title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root (hd0,2)
kernel /vmlinuz-
initrd /initrd.
title Ubuntu, memtest86+
root (hd0,2)
kernel /memtest86+.bin
title Windows XP
rootnoverify (hd0,0)
chainloader +1
root@ziggy:~# lvdisplay
--- Logical volume ---
LV Name /dev/volgroup/root
VG Name volgroup
LV UUID 6NjirO-
LV Write Access read/write
LV Status available
# open 1
LV Size 36.43 GB
Current LE 9325
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 254:0
--- Logical volume ---
LV Name /dev/volgroup/swap
VG Name volgroup
LV UUID fg5ubR-
LV Write Access read/write
LV Status available
# open 1
LV Size 900.00 MB
Current LE 225
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 254:1
root@ziggy:~# pvdisplay
--- Physical volume ---
PV Name /dev/mapper/
VG Name volgroup
PV Size 37.30 GB / not usable 0
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 9550
Free PE 0
Allocated PE 9550
PV UUID eonDPR-
And now for a description of the bug. After I did my install. I rebooted off the livecd and went about installing all my applications, configuring my settings ,etc. Rebooted a couple of times and everything was fine. Then I rebooted once and all of a sudden I'm booted into the same environment I was in post install and none of my files are there? I'm confused as to what could have happened. I reboot again and I boot back into my setup that I previously had. Right now it's 50/50 as to which installation I will boot to when I reboot. I am at a loss for how this is occuring. Windows is behaving properly in the mirror, and all the commands seem to point to the mirror working in linux yet it seems that there are 2 seperate installs and no mirroring taking place. Please let me know if you need any clarification or any more output from commands. I am at a loss for how this is occuring.
Changed in dmraid: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in lvm-common: | |
status: | New → Triaged |
Changed in lvm-common: | |
importance: | Undecided → Low |
status: | Triaged → Incomplete |
Changed in dmraid: | |
status: | Triaged → Incomplete |
Can you post the output of "sudo dmsetup table"?