Ok heres the walk thru,
Create /etc/raidtab, /etc/raid.conf 
( 
these seem to be merged in newer
raidtools,go figure, they look the same act the same and all the raid
tools work with either one when you use --configfile /etc/either_one
)
ok initialize the raid, mkraid /dev/md0 
(
This fails to set the partitions types to "fd" so they do not get
autodetected by the kernel, do it manualy with fdisk if you want/need 
a raid root, otherwise they will get loaded in the standard way via
initscripts
)
Now wait while the array is init'd 
(
cat /proc/mdstat && cat /proc/mdstat 
notice the counter.
)
Do we need a raid root?
(
fdisk here
)
Create/Update initrd
(
I use
mkinitrd --with raid1 /boot/initrd-`uname -r` `uname -r`
Adjust this for any other scsi or raid modules you need
)
Add initrd to lilo.conf
(
in your default or testing label add
initrd=/boot/initrd-XXX
where XXX is `uname -r`
/sbin/lilo
)

shutdown -rfn 0;w

the ;w doesn't belong but shows the -rfn0w i always think of it as
r=right,f=f**kin,n0w ;c)
 
On Mon, 9 Aug 1999, Kit Ngan wrote:

> Axalon wrote:
> 
> > mine detects it's mounted as /mnt/iso from hdb1 and hdb2,
> > how about a fdisk -l /dev/hard_drive plz
> 
> Ummm...
> Do I need to put it on /etc/fstab or /etc/mtab?
> I was wonder how auto-detect the mount point?
> 
> > On Mon, 9 Aug 1999, Kit Ngan wrote:
> > > Axalon wrote:
> > > > You'll need to change the partition types to type "fd" and update your
> > > > initrd, should work fine after that, let me know if it doesn't.
> > > I found it work for autodetect now, but It check for root fs only!
> > > But my raid system is not root!
> > > > >     I got problem on the mirror/raid1 auto-mount during boot!
> > > > >     It is running on cooker w/kernel 2.2.10
> > > > >     I had build-up a mirror system with /dev/md0, /dev/md1 & /dev/md2 by
> 
> --
> Rgds Kit
> K&B Computer Technology Co.
> ICQ: 28280598
> 
> 

Reply via email to