sg.conf file example
The following /usr/openv/volmgr/bin/driver/sg.conf file example shows targets 0-15 and LUNs 0-8. It also includes target entries for three StorEdge Network Foundation HBA ports.
The sg.build -mt option does not affect FCP targets, but the -ml option does. The Solaris luxadm command detected three ports (identified by their World Wide Names). Therefore, the sg.build script created entries for LUNs 0 through 7 for those three ports.
name="sg" class="scsi" target=0 lun=0; name="sg" class="scsi" target=0 lun=1; name="sg" class="scsi" target=0 lun=2; name="sg" class="scsi" target=0 lun=3; name="sg" class="scsi" target=0 lun=4; name="sg" class="scsi" target=0 lun=5; name="sg" class="scsi" target=0 lun=6; name="sg" class="scsi" target=0 lun=7; name="sg" class="scsi" target=1 lun=0; name="sg" class="scsi" target=1 lun=1; name="sg" class="scsi" target=1 lun=2; ... <entries omitted for brevity> ... name="sg" class="scsi" target=15 lun=5; name="sg" class="scsi" target=15 lun=6; name="sg" class="scsi" target=15 lun=7; name="sg" parent="fp" target=0 lun=0 fc-port-wwn="500104f0008d53c3"; name="sg" parent="fp" target=0 lun=1 fc-port-wwn="500104f0008d53c3"; name="sg" parent="fp" target=0 lun=0 fc-port-wwn="500104f0008d53c6"; name="sg" parent="fp" target=0 lun=1 fc-port-wwn="500104f0008d53c6"; name="sg" parent="fp" target=0 lun=0 fc-port-wwn="500104f0008d53c9"; name="sg" parent="fp" target=0 lun=1 fc-port-wwn="500104f0008d53c9"; name="sg" parent="fp" target=0 lun=0 fc-port-wwn="500104f0008d53cc"; name="sg" parent="fp" target=0 lun=1 fc-port-wwn="500104f0008d53cc"; name="sg" parent="fp" target=0 lun=0 fc-port-wwn="500104f0008d53b9"; name="sg" parent="fp" target=0 lun=1 fc-port-wwn="500104f0008d53b9"; name="sg" parent="fp" target=0 lun=0 fc-port-wwn="500104f0008d53c3"; name="sg" parent="fp" target=0 lun=1 fc-port-wwn="500104f0008d53c3"; name="sg" parent="fp" target=0 lun=0 fc-port-wwn="500104f0008d53c6"; name="sg" parent="fp" target=0 lun=1 fc-port-wwn="500104f0008d53c6"; name="sg" parent="fp" target=0 lun=0 fc-port-wwn="500104f0008d53c9"; name="sg" parent="fp" target=0 lun=1 fc-port-wwn="500104f0008d53c9"; name="sg" parent="fp" target=0 lun=0 fc-port-wwn="500104f0008d53cc"; name="sg" parent="fp" target=0 lun=1 fc-port-wwn="500104f0008d53cc"; name="sg" parent="fp" target=0 lun=0 fc-port-wwn="500104f0008d53b9"; name="sg" parent="fp" target=0 lun=1 fc-port-wwn="500104f0008d53b