Hi
I'm having pretty unusual disk layout
i have only 3 normal partitions ( /boot and 2x / for 2 installations)
and may be about 15 partitions which are soft raids and on the top of
them I'm having LVM volumes ( i have 3 disks)
because of that i normally recompile the kernel with built in support
for raid and lvm, but for some days i tried to boot the standard smp
kernel 2418-1mdk and it wasn't that nice
it couldn't find any VG or LV , and then i found out that my
/proc/mdstat is empty
so my question
is it possible to add in mkinitrd checking for /proc/mdstat and
/proc/lvm/global and if necessary to add the needed modules
1- RAID on / is possible and supported (except if bugged)
2- LVM on / is possible but currently not supported (AFAIK, drakx
will not allow you to do so) ; there are things like
vgcreate to do AFAIK, etc
i know that
and i didn't mention anything about / ( my / is normal partition )
the thing is that mkinitrd checks only for /etc/raidtab and not for
/proc/mdstat
so it doesn't add the raid modules and thats the cause for missing PV's
( raids) and VG's
after installing ( and booting ) the 2418-1mdk i had no raid and lvm
devices
and i had empty /proc/mdstat and /proc/lvm/global
that's what i have with raid compiled in
root@svetljo root]# cat /proc/mdstat
Personalities : [linear] [raid0]
read_ahead 1024 sectors
md7 : active linear ide/host2/bus0/target0/lun0/part11[0]
ide/host2/bus0/target0/lun0/part6[1]
13936128 blocks 64k rounding
md6 : active linear ide/host3/bus0/target0/lun0/part12[2]
ide/host3/bus0/target0/lun0/part6[3]
ide/host3/bus0/target0/lun0/part5[0] ide/host3/bus0/target0/lun0/part1[1]
14409856 blocks 64k rounding
md2 : active raid0 ide/host3/bus0/target1/lun0/part5[2]
ide/host3/bus0/target0/lun0/part8[1] ide/host2/bus0/target0/lun0/part7[0]
12289344 blocks 16k chunks
md0 : active raid0 ide/host3/bus0/target1/lun0/part6[2]
ide/host3/bus0/target0/lun0/part10[1] ide/host2/bus0/target0/lun0/part8[0]
8064256 blocks 8k chunks
md1 : active raid0 ide/host3/bus0/target1/lun0/part7[2]
ide/host3/bus0/target0/lun0/part9[1] ide/host2/bus0/target0/lun0/part10[0]
24579072 blocks 16k chunks
md8 : active raid0 ide/host3/bus0/target1/lun0/part8[1]
ide/host3/bus0/target0/lun0/part7[0]
529920 blocks 64k chunks
unused devices: none
[root@svetljo root]# cat /proc/lvm/global
LVM driver LVM version 103(19/02/2002)
Total: 2 VGs 6 PVs 5 LVs (5 LVs open 5 times)
Global: 341805 bytes malloced IOP version: 10 0:27:14 active
VG: wish [3 PV, 3 LV/3 open] PE Size: 4096 KB
Usage [KB/PE]: 44912640 /10965 total 44904448 /10963 used 8192 /2 free
PVs: [AA] md/2 12283904 /299912283904
/2999 0 /0
[AA] md/0 8056832 /1967 8056832
/1967 0 /0
[AA] md/1 24571904 /599924563712
/59978192 /2
LVs: [AWDL ] tmp 14606336 /3566 1x open
[AWDL ] ftp 21909504 /5349 1x open
[AWDL ] home 8388608 /2048 1x open
VG: myData [3 PV, 2 LV/2 open] PE Size: 4096 KB
Usage [KB/PE]: 43515904 /10624 total 39763968 /9708 used 3751936
/916 free
PVs: [AA] ide/host3/bus0/target1/lun0/part10 15183872 /3707
13254656 /3236 1929216 /471
[AA] md/6 14401536 /351613254656 /3236
1146880 /280
[AA] md/7 13930496 /340113254656 /3236
675840 /165
LVs: [AWDS3 ] Music 31899648 /7788 1x open
[AWDS3 ] src 7864320 /1920 1x open