Hi Andrey-

(just to flesh out this information a bit) You are correct. To enable logging 
to that location requires the following (as pointed out by Tim Szeto in another 
post):

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

Hopefully we're working our way to the bottom of this...

-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