[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] xen soft raid1 - SOLVED



marek cervenka wrote:
do you have someone running xen 3.0 with software raid1 on root?
i'm trying recompile kernel (3.0 stable) with correct CPU (P4), but still
no success

Works fine for me..

machine reboot when loading module raid1.ko :(

Perhaps try adding 'noreboot' in your grub.conf so you can see any
error messages?

thanks, this help

now i can see problem

raidautorun: RAID_AUTORUN failed: 19
Creating root device
Mounting root filesystem
EXT3-fs: unable to read superblock

system is centos-4.2
with 2.6.9-22 kernel boot works ok

because this is the same problem like this http://lists.xensource.com/archives/html/xen-users/2005-12/msg00355.html

and solution isnt ported to mainstream, i will try describe the problem (imho BUG that affect ALL software raid installations on redhat/fedora systems - maybe other distros too)

from Documentation/md.txt
---cut---
Boot time autodetection of RAID arrays
--------------------------------------

When md is compiled into the kernel (not as module), partitions of
type 0xfd are scanned and automatically assembled into RAID arrays.
This autodetection may be suppressed with the kernel parameter
"raid=noautodetect".  As of kernel 2.6.9, only drives with a type 0
superblock can be autodetected and run at boot time.
---cut--

in standard xensource kernel is "md" as module
CONFIG_BLK_DEV_MD=m

in redhat kernels is
CONFIG_BLK_DEV_MD=y (and raid autodetection work)

can you change (xensource) CONFIG_BLK_DEV_MD to yes ?

thanks


---------------------------------------
Marek Cervenka
Centrum Vypocetni Techniky
CVT             - http://cvt.fpf.slu.cz
FPF SLU OPAVA   - http://www.fpf.slu.cz
LCNA            - http://lcna.slu.cz
=======================================


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.