HP StorageWorks HSG80 ACS Solution Software V8.8 for Linux X86 Installation and Configuration Guide (AA-RV1LA-TE, March 2005)

Installing and Configuring HSG Agent
113HSG80 ACS Solution Software V8.8 for Linux X86 Installation and Configuration Guide
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 have fewer than 26 sd devices configured on your system, you can
execute the following commands:
# cd /dev
# ./makedev sg
If you 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 use on the HSG80 RAID
Controller, the Command Console LUN is reported as a device type 12 (RAID
Controller). Device type 12 cannot be mapped to an sd device, but is 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”