Chapter 2 Configuration
11
(#) is a comment line.
For example, if a disk device is configured with SCSI target ID 0 and has three logical
units from 0 to 2, edit sd.conf as follows:
Use target=0 lun=0 as is, since it is an applicable definition.
Copy the two lines containing target=0 lun=0 twice. In the copied lines, change one lun=0
to lun=1 and the other to lun=2.
#
# Copyright (c) 1992, by Sun Microsystems, Inc.
#
#ident
@(#)sd.conf 1.8 93/05/03 SMI
name= sd
class=
scsi
target=0 lun=0;
name= sd
class=
scsi
target=0 lun=1;
name= sd
class=
scsi
target=0 lun=2;
name= sd
class=
scsi
target=1 lun=0;
:
:
The sd driver now has all the necessary definitions.
2.3.3 Editing the ses.conf (File Unit)
The definition file for the ses driver is /kernel/drv/ses.conf add the collected
information to this file. ses.conf contains several default settings.
A definition begins with name= ses
and ends with a semicolon (;). target=X specifies
a SCSI target ID. lun=X specifies a logical unit number. A line starting with a number
sign (#) is a comment line.
For example, if the File Unit is configured with SES Controller target ID 32 and has one
logical unit 0, edit ses.conf as follows:
#
# Copyright 2003 Sun Microsystems, Inc.
All rights reserved.
# Use is subject to license terms.
#
#
#ident
"@(#)ses.conf
1.11
03/10/23 SMI"
#
name="ses" class="scsi" target=0 lun=0;
name="ses" class="scsi" target=1 lun=0;
name="ses" class="scsi" target=2 lun=0;
…