On Mar 1, 2007, at 8:13 AM, Tim Brown wrote:

I wanted to test the s/w initiator from inside VMware ESX 3.0.1 to see if I could use Open Solaris build 57 as a target device. I have setup my targets. I can see and connect to them with the Microsoft S/W Initiator. When I try to rescan the the S/W initiator in ESX looking for LUNs it causes iscsitgtd to crash. If I do an "iscsitadm list target" my targets are gone and I need to recreate them. Has anyone been successful doing this? If someone needs me to do a packet sniff of the transaction please let me know.


I recently putback a fix for ESX, but unfortunately it will not be available to the opensolaris community until build 60.

It's worrisome though that your targets are disappearing. The problem that I saw and fixed was that ESX's initiator would issue a REPORT_LUNS, but then ignore the data and issue an INQUIRY command for LUNs 0 through 255. Due to a bug which I introduced the target would return success instead of a CHECK CONDITION on LUNs 1 through 255 which caused ESX to get confused. I never saw a condition where the targets would disappear. Could you do the following?

(1) Reproduce the problem where the target information disappears.
(2) Send me the contents of /etc/iscsi/target_config.xml
(3) cd to the location which you gave to 'iscsitadm modify admin -d <dir>'
(4) send me the output of ls -l
(5) send me the contents of config.xml in that directory.

Nothing should cause the targets to disappear. Even if the daemon crashes for some reason the configuration should remain and be reloaded when SMF restarts the daemon.

Thanks,

Tim


This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

----
Rick McNeal

"If ignorance is bliss, this lesson would appear to be a deliberate attempt on your part to deprive me of happiness, the pursuit of which is my unalienable right according to the Declaration of Independence. I therefore assert my patriotic prerogative not to know this material. I'll be out on the playground." -- Calvin


_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to