From: rnturn@baxter.com (Rick Turner)
Subject: Re: newbie ques)configuring raidsets on HSZ controllers and 4.0F
Date: 12 Jun 2002 08:34:53 -0700 [thread overview]
Message-ID: <9697b9e2.0206120734.28bd62dd@posting.google.com> (raw)
In-Reply-To: 532ae8cb.0206111013.d59f835@posting.google.com
krvermeulen@hotmail.com (Kristie) wrote in message news:<532ae8cb.0206111013.d59f835@posting.google.com>...
> Let me first say that I'm a newbie to the group, tru64 and HSZ
> controllers but not Unix. Presently I am in a learning phase and one
> of my objectives is to take a system running 4.0F with controllers but
> not raided and create one RAIDSET from 3 disks. Here's the
> scoop.......
>
> I have three disks that I want to make into my Rn, (I know how to
> de-configure/configure them via the controller), they are rzb25,
> rzc25, &rzd25 (DISK230-250).....after I have done the configurations
> in the controller and am now in the O.S. I am not sure how to label
> the disks. Do I assign them a totally different name with ./MAKEDEV
> (i.e. rz26 or call them rzn25)? Here is what my /var/adm/messages
[snip]
> Jun 11 11:02:15 {host} vmunix: rzb25 at scsi3 target 1 lun 1 (LID=13)
> (DEC )
> Jun 11 11:02:15 {host} vmunix: rzc25 at scsi3 target 1 lun 2 (LID=14)
> (DEC )
> Jun 11 11:02:15 {host} vmunix: rzd25 at scsi3 target 1 lun 3 (LID=15)
> (DEC )
After you've backed up anything that was on the disks you're about to
redeploy and you've umounted them, you can delete the no-longer-needed
files in /dev:
cd /dev
rm rrb25[a-h] rzb25[a-h]
rm rrc25[a-h] rzc25[a-h]
rm rrd25[a-h] rzd25[a-h]
Create your raidset and assign a unit to it. NOTE: the disks that you
said you want to use for the raidset (DISK230, DISK240, DISK250) are
all accessed through the same HSZ port. You can still create the
raidset but you'll be cautioned that it has more than one member on a
port and that performance may suffer. It'd be much better if you could
physically relocate these disks on the shelves so that your raidset
was using, say, DISK130, DISK240, and DISK350. If you have open drive
bays on other shelves, it'd be a good idea to move two of the disks to
other shelves. The HSZ manuals explain how to move a disk.
Create the entry in /dev for the new unit. Assume you assigned unit
201 (target 2, LUN 1) for the new raidset on the HSZ. You'd need to:
cd /dev
./MAKEDEV rzb26
disklabel -rw rzb26 hszNN (NN=40, 50, 70, etc.)
(The `b26' is called the logical device number and consists of a
letter (or not) and a number. The letter portion comes from the LUN:
[0-7] ==> [a-h] (though `a' is never specified). The number portion
can be derived from the bus number and target using:
(bus_number * 8) + SCSI target
Then you can create your filesystem or file domain. For example, if
you want to go with AdvFS:
mkfdmn /dev/rzb26c some-domain
mkfset raidset1 some-fileset
mount -t advfs some-domain#some-fileset /mnt
Then you can restore the old data onto the new raidset.
Hope this helps...
next prev parent reply other threads:[~2002-06-12 15:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-11 18:13 newbie ques)configuring raidsets on HSZ controllers and 4.0F Kristie
2002-06-12 12:17 ` Kristie
2002-06-12 15:34 ` Rick Turner [this message]
2002-06-13 14:15 ` Kristie
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