Subject: StripeSet (raid0) on NetBSD 1.5 on DS5000/240
To: None <port-pmax@netbsd.org>
From: =?iso-8859-1?Q?Hilmar_B=F6hm?= <h.boehm@ndh.net>
List: port-pmax
Date: 06/25/2001 21:17:02
This is a multi-part message in MIME format.

------=_NextPart_000_001F_01C0FDBC.2D88E880
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Hi!

Hoping that some kind soul can help me with this:
    I've 3x RZ57 on above mentioned System and tried to create a stripe set
over those HD's.

"raidctl" gives this back:
bash-2.04# raidctl -v -C /etc/raid0.conf raid0
raidctl: unable to open device file: /dev/raid0c

The device files /dev/raid0c and /dev/rraid0c do exist.

The raid control file "raid0.conf":
--------------------------
START array
1 3 0
#
START disks
/dev/rz2c
/dev/rz3c
/dev/rz6c
#
#START spare
#
START layout
# sectPerSU SUsPerParityUnit SUsPerReconUnit RAID_level
64 1 1 0
#
START queue
fifo 100
#
------------------
Is there something missing or wrong. I'm not sure about this "sectPerSU"
number.


All the RZ57's are disklabeled like this:
------------------------------------
bash-2.04# disklabel -i -I rz2
partition> P
8 partitions:
#        size   offset     fstype   [fsize bsize   cpg]
  a:    65536        0     unused     1024  8192         # (Cyl.    0 - 62*)
  b:   151552    65536       swap                        # (Cyl.   62*-206*)
-->  c:  1954050        0       RAID                        # (Cyl.
   0 -1860) <--------
  d:   299008   831488     unused     1024  8192         # (Cyl.
791*-1076*)
  e:   299008  1130496     unused     1024  8192         # (Cyl.
1076*-1361*)
  f:   524546  1429504     unused     1024  8192         # (Cyl. 1361*-1860)
  g:   614400   217088     unused     1024  8192         # (Cyl.  206*-791*)
  h:  1122562   831488     unused     1024  8192         # (Cyl.  791*-1860)
partition> Q
bash-2.04# exit
----------------------------------------------------------------------------
-----------------
RZ3 and RZ6 are labeled accordingly.


There are some more raidctl commands needed to create the stripe set
finally. What is the exact  sequence of those commands.

Thanks a lot in advance and best regards.

Hilmar Böhm
[Cologne, Germany]


------=_NextPart_000_001F_01C0FDBC.2D88E880
Content-Type: text/x-vcard;
	name="=?iso-8859-1?Q?Hilmar_B=F6hm.vcf?="
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="=?iso-8859-1?Q?Hilmar_B=F6hm.vcf?="

BEGIN:VCARD
VERSION:2.1
N:B=F6hm;Hilmar
FN:Hilmar B=F6hm
TEL;HOME;VOICE:+49-(221)-9349451
TEL;HOME;FAX:+49-(221)-9349452
ADR;HOME:;;Krohstr. 2;K=F6ln;NRW;50968;Deutschland
LABEL;HOME;ENCODING=3DQUOTED-PRINTABLE:Krohstr. 2=3D0D=3D0AK=3DF6ln, NRW =
50968=3D0D=3D0ADeutschland
EMAIL;PREF;INTERNET:h.boehm@ndh.net
REV:20010625T191702Z
END:VCARD

------=_NextPart_000_001F_01C0FDBC.2D88E880--