From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,92397f5e37a1ef44,start X-Google-Attributes: gidfee84,public From: boyd@plan9.cs.su.oz.au Subject: Re: Need advice on RAID5 Date: 1995/10/13 Message-ID: <45kr50$35r@staff.cs.su.oz.au>#1/1 X-Deja-AN: 117503071 sender: boyd@cs.su.oz.au references: organization: Basser Dept of Computer Science, Uni of Sydney, Australia newsgroups: comp.unix.osf.osf1 In Article, write: > > I'm wondering now if it is possible to have the root and /usr > filesystems on a RAID5 volume. And what about swap space? > I've set up root and swap on a HSZ40. The only gotcha is that the LUN of root and swap must be zero, otherwise you can't reference the device from the kernel config file. Well, you could but then you'd depart from the recommended naming scheme. My HSZ40 looks like this (from memory): ADD DISK DISK100 1 0 0 ADD DISK DISK200 2 0 0 ADD MIRROR M1 DISK100 DISK200 INIT M1 ADD UNIT M1 D200 ADD DISK DISK110 1 1 0 ADD DISK DISK210 2 1 0 ADD DISK DISK310 3 1 0 ADD DISK DISK410 4 1 0 ADD RAID R1 DISK110 DISK210 DISK310 DISK410 INIT R1 ADD UNIT R1 D400 So I have a mirror on d200 (root) and a RAID 5 on d400 (swap). The kernel config is: vmunix root on rz2a swap on rz4c dumps on rz4c To clarify the mapping between devices in /dev and units on the HSZ40 I've written a script so that: d200 -> /dev/rz[a-h]200[a-h] Which is much easier to understand than the Digital scheme (in the HSZ40 manual). In general my devices are named: /dev/rz[a-h]S0[L][a-h] [a-h] - Host side SCSI id S - HSZ40 size SCSI id L - HSZ40 LUN [a-h] - partition Boyd Roberts boyd@plan9.cs.su.oz.au ``When the going gets wierd, the weird turn pro ...''