
Configuring SG and ST Drivers
Configuring SG and ST Drivers
This procedure contains instructions for configuring the sg driver for SCSI targets 0 thru 6
and 8 thru 15 for fast or wide adapter cards.
In this procedure, you execute sg.build to add these targets to the st.conf, sg.conf
and sg.links files. Adjust the -mt and -ml parameters to create the range of targets and
LUNs required by your configuration. See the following command summary or the more
detailed explanation which follows.
▼ To configure drivers
1. Execute the sg.build script to add target IDs 0-6, 8-15, and LUNs 0-1 to the
following files:
/usr/openv/volmgr/bin/driver/st.conf
/usr/openv/volmgr/bin/driver/sg.conf
/usr/openv/volmgr/bin/driver/sg.links
cd /usr/openv/volmgr/bin/driver
/usr/openv/volmgr/bin/sg.build all -mt 15 -ml 1
The -mt 15 parameter specifies the maximum target ID that is in use on any SCSI
bus (or bound to a fibre channel device).
The -ml 1 parameter specifies the maximum target LUN that is in use on any SCSI
bus (or by a fibre channel device).
2. The file /usr/openv/volmgr/bin/driver/st.conf is used to replace the
following seven entries in the /kernel/drv/st.conf file:
name="st" class="scsi"
target=0 lun=0;
name="st" class="scsi"
target=1 lun=0;
name="st" class="scsi"
target=2 lun=0;
name="st" class="scsi"
target=3 lun=0;
name="st" class="scsi"
target=4 lun=0;
name="st" class="scsi"
target=5 lun=0;
name="st" class="scsi"
target=6 lun=0;
Chapter 2, Sun Solaris 9
Comentarios a estos manuales