SUMMARY: Configuring an SW300 on a 2100

From: D. Mark Sprague <msprague_at_MIT.EDU>
Date: Thu, 13 Jul 95 13:52:38

I want to thank all the people that responded to me, and especially
thank Alan Rollow. Here is Alan's responce back to me, as well as an
example that he sent me after I sent him my configuration.

Original Question:
> I am trying to configure an SW300 on a 2100. I think that I have the
> SW300 itself configured correctly (I have it set up as 4 Raid sets),
> but I can't get Unix to see the devices (I have done, genvmunix'es,
and
> doconfig's, and the devices are there at the ">>>show device" level,
as
> dkb1,2,3,4). The manual says that I need to do mknods on each drive
in
> the SW, but there has to be an easier way. Has anyone configured one
of
> these? Is there an easier way?

Alan's Response:


        For logical unit zero devices (which you seem to be using)
        simply create the special device files with MAKEDEV. To
        find the drive number:

                (bus * 8) + target-id

        DKB in console speak is probably bus 1, so these would be:

                rz9, rz10, rz11, rz12

        Then:

                # cd /dev
                # ./MAKEDEV rz9 rz10 rz11 rz12

        For non-logical unit zero devices, it may get harder. If
        you have V3.2A, the script /dev/MAKE_RAID_LUNS will do
        much of the work for you given the right names. The
        expected format of name is:

                rz[b-h]#

        Where '#' is just the drive number as above and the b-h
        is a letter corresponding to the logical unit number:

                b = LUN 1
                c = LUN 2
                d = LUN 3
                etc.

        Before V3.2A you have do to this by hand, calculating the
        minor device number and running mknod. If you're familiar
        with shell script programming, it isn't hard to adapt the
        existing MAKEDEV script to do this. I'd make a copy of
        the script and then add an extra loop in the "rz" code
        to create the LUN devices.

And Example:

        You have logical units 1, 2, 3 and 4 on target 0. Being
        dkb we'll assume it is bus 1.

                D1 = rzb8
                D2 = rzc8
                D3 = rzd8
                D4 = rze8

                8 = (bus 1 * 8) + 0

        Since the HSZ40 supports 4 target-ids, if you have them to
        spare I'd setup four seperate target ids and use LUN 0 for
        each. For four devices/storage-sets on the HSZ40 side this
        will considerably simply management, since the device will
        have conventional names.
Received on Thu Jul 13 1995 - 21:44:23 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT