I've gotten a bit of correspondence which hasn't shown up on this thread. I'm 
including it here for the sake of completeness. I've enabled logging via the 
method below for S10U4 (thanks Tim):

The iscsitgtd does logs to /tmp/target_log, but you have to set qlog-lvl to 
some level, if you set  <qlog-lvl>0x0ffff</qlog-lvl>, this will give you the 
most debug messages. 

If you're running S10U4 or prior snv-74, do the following:

Edit /etc/iscsi/target_config.xml
Add this line <qlog-lvl>0x0ffff</qlog-lvl>
     -queue.h contains the debug bitmaps
restart daemon with this command "svcadm restart iscsitgt"
The debug out is located at /tmp/target_log


If you are running snv-74 and later, you need to do the following:

svccfg -s iscsitgt setprop iscsitgt/qlog-lvl = integer: 0xffffff
svccfg -s iscsitgt listprop iscsitgt/dbg-lvl
svcadm refresh iscsitgt
svcadm restart iscsitgt

_____________________________________________________________


I now have a target log at /tmp/target_log. It's empty thus far. We shall see 
what ends up in there.

Thanks to all for the information so far.

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

Reply via email to