Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: boyd@plan9.cs.su.oz.au
Subject: Re: Need advice on RAID5
Date: 1995/10/13	[thread overview]
Message-ID: <45kr50$35r@staff.cs.su.oz.au> (raw)
In-Reply-To: DG6w6G.G1A@gak.nl


In Article<DG6w6G.G1A@gak.nl>, <rheemske@gak.nl> 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 ...''



           reply	other threads:[~1995-10-13  4:00 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <DG6w6G.G1A@gak.nl>]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox