Hi,

We are having some problems with the solaris 10 initiator. Everything works quite well but as soon as we remove or create a target in the web interface, all our iscsi connections are dropped.

this is what happens:
I've mounted a volume on /mnt, next I either remove or add add a new target

the logs shows:

Oct 7 15:56:51 rbgz02 iscsi: WARNING: iscsi connection(55) login failed - can't accept MaxOutstandingR2T 0
Oct 7 15:56:51 rbgz02 iscsi: NOTICE: iscsi session(54) iqn.2006-09.com.iw:iscsi.target1 offline
Oct 7 15:56:57 rbgz02 scsi: WARNING: /iscsi/disk@0000iqn.2006-09.com.iw%3Aiscsi.target1FFFF,5 (sd5):
Oct 7 15:56:57 rbgz02 transport rejected fatal error
Oct 7 15:57:02 rbgz02 ufs: WARNING: Error writing master during ufs log roll
Oct 7 15:57:02 rbgz02 ufs: WARNING: ufs log for /mnt changed state to Error
Oct 7 15:57:02 rbgz02 ufs: WARNING: Please umount(1M) /mnt and run fsck(1M)
Oct 7 15:57:50 rbgz02 iscsi: NOTICE: iscsi session(54) iqn.2006-09.com.iw:iscsi.target1 online

the first and most interesting thing is the message: login failed - can't accept MaxOutstandingR2T 0

after I run format: the logs show: NOTICE: iscsi session(54) iqn.2006-09.com.iw:iscsi.target1 online
now I can unmount and remount the volume to get it back online

We have tried the following setups:

* static and dynamic discovery
* chap and no login setup
* combinations of InitialR2T Yes/No and UmmediateData Yes/No (http://sunsolve.sun.com/search/docum...=1-1-6378143-1)

We are running the latest open-e server (same problem with the last 2 releases). Our initiators run on solaris 10 with the latest patch level and iscsi patch 119091-20

some more strange things:

root@rbgz02:~# iscsiadm list static-config
Static Configuration Target: iqn.2006-09.com.iw:iscsi.target1,192.168.0.220:3260


root@rbgz02:~# iscsiadm list target-param
Target: iqn.2006-09.com.iw:iscsi.target1
Alias: -
Target: iqn.2006-10:iscsi.target10
Alias: -

I have 1 static target but iscsiadm list target-param shows 2 targets?

gr,

remko