Compaq StorageWorks HSG60 ACS Solution Software V8.6 for Linux X86 and Alpha Installation and Configuration Guide

Installing and Configuring the HS-Series Agent 4–5
Mapping SCSI-generic Devices
A SCSI-generic device must be created for communication between the SWCC Agent and
the HSG80 RAID Controller. This prevents conflicts between the SCSI disk driver (which
presents blocked (filesystem-oriented) devices to the system), and the SWCC Agent
(which requires the capability to perform raw I/O operations),
SCSI-generic devices can be created using the MAKEDEV script in the /DEV directory.
If you will have fewer than 26 sd devices configured on your system, you can execute
the following commands:
# cd /dev
# ./makedev sg
If you will have more than 26 sd devices configured on your system, you can specify
the particular sg device that you want to create by using the following commands:
# cd /dev
# /makedev sgk
The makedev script has been patched to ensure that the above procedure works for up
to 256 sg devices.
Sg devices follow the same type of nomenclature convention as sd devices with one
exception. Under the SCSI-3 configuration that you will use on the HSG80 RAID
Controller, the Command Console LUN will be reported as a device type 12 (RAID
Controller). Device type 12 cannot be mapped to an sd device, but will be mapped to an sg
device; this mapping process causes the range of sd devices to skip over the HSG80 CCL.
Use the
scsi_info command to determine where there is a break in the list of sd devices, so
that you can successfully map an sg device.
For example:
The first HSG80 sd device on your system is /dev/sdk, which you determined by using
scsi_info on your sd devices. The output for scsi_info /dev/sdk looks as follows:
SCSI_ID=”0,0,1”
MODEL=”DEC HSG80”
FW_REV=”V86”