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

Re: Anybody able to get root on raid ?



On Wed, Jan 15, 2003 at 05:43:06PM +0100, franco.tassone@inwind.it wrote:
> Hi all,
> 
> I recompiled the kernel 2.4.16 on my Indigo2 just slightly modifying the .config file coming with the stock kernel, in order to add RAID functionalities. The relevant modules were linked with the kernel itself.
> 
> #
> # Multi-device support (RAID and LVM)
> #
> CONFIG_MD=y
> CONFIG_BLK_DEV_MD=y
> CONFIG_MD_LINEAR=m
> CONFIG_MD_RAID0=m
> CONFIG_MD_RAID1=y
> CONFIG_MD_RAID5=y
> CONFIG_MD_MULTIPATH=m
> CONFIG_BLK_DEV_LVM=m
> 
> Unfortunatelly the kernel doesn't perform the MD autorun and the /dev/md0 raid entry point can't be mounted.
> Anybody got success in doing this ?
> Any hint will be greatly appreciated.

On x86 hardware I use initrd to initialize raid before mounting root.
The mkinitrd stuff seems to do that if a /etc/raidtab exists pretty much
automatically, although sometimes it helps to have the modules needed
listed in /etc/mkinitrd/modules.  I imagine other architectures can use
the same method no matter what partition system is used for the raid
devices.

Len Sorensen



Reply to: