
White Paper
# grep qla4xxx /var/adm/messages
Feb 10 10:30:19 hostname:[ID xxxxxx kernel.info] sd10
at qla4xxx target2
lun0
Feb 10 10:30:19 hostname:[ID xxxxxx kernel.info] sd11 at qla4xxx target2
lun1
Feb 10 10:30:19 hostname:[ID xxxxxx kernel.info] sd12 at qla4xxx target2
lun254
Feb 10 10:30:19 hostname:[ID xxxxxx kernel.info] sd13 at qla4xxx target3
lun0
Feb 10 10:30:19 hostname:[ID xxxxxx kernel.info] sd14 at qla4xxx target3
lun1
Feb 10 10:30:19 hostname:[ID xxxxxx kernel.info] sd15 at qla4xxx target3
lun254
Because there are two different IP portals with the same iSCSI node, total 6 LUNs
will be found in 2 targets. The configuration file /kernel/drv/sd.conf should be added
the SCSI information as the following.
# vi /kernel/drv/sd.conf
...
name=”sd” class=”scsi” target=0 lun=0;
name=”sd” class=”scsi” target=1 lun=0;
name=”sd” class=”scsi” target=2 lun=0;
name=”sd” class=”scsi” target=2 lun=1;
name=”sd” class=”scsi” target=2 lun=254;
name=”sd” class=”scsi” target=3 lun=0;
name=”sd” class=”scsi” target=3 lun=1;
name=”sd” class=”scsi” target=3 lun=254;
name=”sd” class=”scsi” target=4 lun=0;
name=”sd” class=”scsi” target=5 lun=0;
...
Reboot Solaris to let the settings work, then the disks will be detected.
Example 2: Connect to P210C with two IP portals which are shared 3 nodenames,
and LUN 0 is attached to node1, LUN 1 is attached to node2, LUN 254 is attached to
node3.
After connecting the iSCSI target with QLogic QLE4062C, the messages are
displayed like the following.
# grep qla4xxx /var/adm/messages
Feb 10 10:30:19 hostname:[ID xxxxxx kernel.info] sd10 at qla4xxx target2
lun0
Feb 10 10:30:19 hostname:[ID xxxxxx kernel.info] sd11 at qla4xxx target3
lun1
Feb 10 10:30:19 hostname:[ID xxxxxx kernel.info] sd12 at qla4xxx target4
lun254
Feb 10 10:30:19 hostname:[ID xxxxxx kernel.info] sd13 at qla4xxx target5
lun0
Feb 10 10:30:19 hostname:[ID xxxxxx kernel.info] sd14 at qla4xxx target6
lun1
Feb 10 10:30:19 hostname:[ID xxxxxx kernel.info] sd15 at qla4xxx target7
lun254
Because there are two different IP portals which are shared 3 iSCSI nodes, total 6
LUNs will be found in 6 targets. The configuration file /kernel/drv/sd.conf should be
added the SCSI information as the following.
- 7 -
Kommentare zu diesen Handbüchern