Subject: Re: disk stripping on pmax
To: emanuel stiebler <emu@ecubics.com>
From: Simon Burge <simonb@telstra.com.au>
List: port-pmax
Date: 05/16/1998 10:28:05
On Fri, 15 May 1998 11:47:05 -0600  "emanuel stiebler" wrote:

> Hi all,
> 
> is it possible, and if yes, how ?

Sure is.  Look at ccd(4) for info.  Below is my configuration on a
machine with 6 2GB RZ28s striped together.  Note that I had problems
until I increased the following two options in my kernel config file:

	options         "NKMEMCLUSTERS=3072"    # 4K pages in kernel malloc pool
	options         "NMBCLUSTERS=6144"      # extra mbuf clusters

Since makeing these changes, the machine has been rock solid for 20 days
now.

I also added

	options         CCDNBUF=16              # number of buffers per ccd device

but I don't know if this was necessary.

Note that support for SCSI id's 5 and 6 on the internal bus and 13 and
14 on the second SCSI bus is in the up-and-coming 1.3.2 release and
also -current.  I've got patches available for others who want them (I
think someone, Toru Nishimura?, sent similar or same patches to the list
recently).

Simon.
--

fhfss:~ 13> cat /etc/ccd.conf 
ccd0 64 none    /dev/rz1a /dev/rz2a /dev/rz3a /dev/rz4a /dev/rz5a /dev/rz6a
fhfss:~ 14> ccdconfig -vg
	# ccd           ileave  flags   compnent devices
	ccd0            64      0       /dev/rz1a /dev/rz2a /dev/rz3a /dev/rz4a /dev/rz5a /dev/rz6a
fhfss:~ 15> ccdconfig -vs
	Statistics for ccd0:
		freelist count: 96
		freelist hiwater: 96
		freelist misses: 20188
		ccdbuf allocations: 4718037
fhfss:16 ~> disklabel rz1		# (all disks the same)
	# /dev/rrz1c:
	type: SCSI
	disk: 
	label: 
	flags:
	bytes/sector: 512
	sectors/track: 84
	tracks/cylinder: 16
	sectors/cylinder: 1344
	cylinders: 3045
	total sectors: 4110480
	rpm: 5400
	interleave: 1
	trackskew: 0
	cylinderskew: 0
	headswitch: 0           # milliseconds
	track-to-track seek: 0  # milliseconds
	drivedata: 0 

	8 partitions:
	#        size   offset    fstype   [fsize bsize   cpg]
	  a:  4110000      480      4.2BSD     1024     0     0   # (Cyl.    0*- 3058*)
	  c:  4110480        0      4.2BSD     1024     0     0   # (Cyl.    0 - 3058*)