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

Re: raid 5 on boot? root?




hi ya richard

On Tue, 17 Aug 2004, Richard Weil wrote:

> Is it possible to have both boot and root on RAID 5? I'm getting a
> kernel panic mid-way through boot. Assuming it's not possible, what
> about if boot is on a normal drive and root is on RAID 5?

the better config is

/ 	256MB
/tmp	256MB
/var	1024MB
/usr	4096MB
/opt	rest od disks ( aka /home )


#
# two root raid
#
/	/dev/hda1 + /dev/hdd1	/dev/md0	raid1
/tmp	/dev/hda2 + /dev/hdd2	/dev/md1	raid1
/var	/dev/hda3 + /dev/hdd3	/dev/md2	raid1
/usr	/dev/hda5 + /dev/hdd5	/dev/md3	raid1
/swap	/dev/hda6 + /dev/hdd6	/dev/md4	raid1

/2	/dev/hdb1 + /dev/hdc1	/dev/md5	raid1
/2tmp	/dev/hdb2 + /dev/hdc2	/dev/md6	raid1
/2var	/dev/hdb3 + /dev/hdc3	/dev/md7	raid1
/2usr	/dev/hdb5 + /dev/hdc5	/dev/md8	raid1
/2swap	/dev/hdb6 + /dev/hdc6	/dev/md9	raid1

#
# stripe um if you want ( i rather not ) -- better to use ( messy) 
# root-raid5 
#
/	/dev/md0 + /dev/md5	raid0
/tmp	/dev/md1 + /dev/md6	raid0
/var	/dev/md2 + /dev/md7	raid0
/usr	/dev/md3 + /dev/md8	raid0


#
# raid5 your data ( /opt aka /home )
#
/opt	/dev/hda7 + /dev/hdb7 + /dev/hdc7 + /dev/hdd7	/dev/md1 raid5


- or something like that ...

c ya
alvin



Reply to: