raid & LVM
I have been playing around with the kernel linux-2.3.99-pre7-8 (0.8final) and attempting to try out
using software raid0 with LVM. The problem I am having is that apparently /proc/partitions
reports /dev/mda instead of /dev/md0 and pvcreate cannot find /dev/md0.
This may be due to raid not really being incorporated into the kernel yet or if something else
changed in the kernel. Anyone know why?
Anyway, I made a link from /dev/md0 to /dev/mda and pvcreate works. However, doing
a vgscan segfaults. The segfault occurs in pv_read_all_pv.c during the check for MD and
clear out doubles.
Maybe I am being too bold trying this out before the full raid is incorporated into the kernel, but
I wanted to see what the current status was.
Thanks,
Jeff
Quoted 6 lines · Jeffrey E. Mast
I have been playing around with the kernel linux-2.3.99-pre7-8 (0.8final) and attempting to try out
using software raid0 with LVM. The problem I am having is that apparently/proc/partitions
reports/dev/mdainstead of/dev/md0and pvcreate cannot find/dev/md0.
IMHO this might be an inconsistency between devfs and your current device files (probably non devfs based?). When devfs is compiled in the kernel /proc/partitions returns the devfs names.
To save scanning all block device files in /dev, lvm tries to make use of /proc/partitions in vgscan.
Quoted 5 lines
Anyway, I made a link from
/dev/md0to/dev/mdaand pvcreate works. However, doing
a vgscan segfaults. The segfault occurs inpv_read_all_pv.cduring the check for MD and
clear out doubles.
Looks like a bug.
Michael
Signature · 4 lines
Michael Marxmeier Marxmeier Software AG E-Mail: [email protected] Besenbruchstrasse 9 Phone : +49 202 2431440 42285 Wuppertal, Germany Fax : +49 202 2431420 http://www.msede.com/