I have setup ISCSI on my Solaris 10x86 system and all works fine, but when I reboot my system it takes for ever to shutdown. Is any one else getting this. See below for example:
# svcadm enable iscsi/initiator
# iscsiadm add static-config iqn.2010-03.uk.ac.bbk.dcs:bran0.cronus0,192.x.x.x
# modify discovery --static enable
# iscsiadm list discovery
Discovery:
Static: enabled
Send Targets: disabled
iSNS: disabled
# iscsiadm list initiator-node
Initiator node name: iqn.1986-03.com.sun:01:2a3566efffff.4b8cf988
Initiator node alias: cronus
Login Parameters (Default/Configured):
Header Digest: NONE/-
Data Digest: NONE/-
Authentication Type: NONE
RADIUS Server: NONE
RADIUS access: unknown
Configured Sessions: 1
# format < /dev/null
AVAILABLE DISK SELECTIONS:
2. c2t3d0 <SCST_BIO-jGhxX2TSzK2Sv8jl- 101-500.00GB>
/iscsi/disk@0000iqn.2010-03.uk.ac.bbk.dcs%3Abran0.cronus0FFFF,0
3. c2t4d0 <SCST_BIO-111M2sds3BP2LurB- 101-50.00GB>
/iscsi/disk@0000iqn.2010-03.uk.ac.bbk.dcs%3Abran0.cronus0FFFF,1
Specify disk (enter its number):
Now If I do a reboot all is fine, but when I mount a disk and start a reboot, it takes about 15minutes to shutdown:
# mount /dev/dsk/c2t4d0s0 /a
# init 6
Mar 8 11:29:25 cronus iscsi: [ID 213721 kern.notice] NOTICE: iscsi session(4) - session logout failed (20)
Mar 8 11:29:25 cronus iscsi: [ID 537996 kern.notice] NOTICE: iscsi discovery failure - SendTargets method is not enabled
Mar 8 11:29:25 cronus iscsi: [ID 299153 kern.notice] NOTICE: iscsi discovery failure - iSNS method is not enabled
Mar 8 11:39:26 cronus svc.startd[7]: [ID 122153 daemon.warning] svc:/network/iscsi/initiator:default: Method or service exit timed out. Killing contract 35.
Mar 8 11:39:26 cronus svc.startd[7]: [ID 748625 daemon.error] network/iscsi/initiator:default failed: transitioned to maintenance (see 'svcs -xv' for details)
As you can see time passes very slowly.....
Any pointers..
Andrew