I noticed that yesterday, there was a putback to onnv-gate regarding a couple of bugs in the Solaris iscsi target, relating to persistent reserves.
So this shows that this areas of code is being reviewed. http://mail.opensolaris.org/pipermail/onnv-notify/2008-August/014723.html Mon Aug 4 14:52:12 PDT 2008 Author: zl149053 (Chris Liu) 6728494 iscsitgt: incorrect diagnostic strings in spc_pgr_check() http://bugs.opensolaris.org/view_bug.do?bug_id=6728494 6729377 iscsitgtd failed to repond PERSISTENT RESERVE IN command http://bugs.opensolaris.org/view_bug.do?bug_id=6729377 Files: http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/iscsi/iscsitgtd/t10_raw_if.c http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/iscsi/iscsitgtd/t10_spc_pr.c (Although OpenGrok is not currently up-to-date with these changes.) These fixes are due to be available in snv_96. For my reference, I will just mention that documetation on persistent reservations is available in document: "SCSI Primary Commands - 3 (SPC-3)", section 5.6, page 62, from http://www.t10.org/drafts.htm in file 'spc3r23.pdf'. The first of the above bugs, mentions the use of 'sg_persist' on a Linux initiator to manage the reservations. http://linux.die.net/man/8/sg_persist Utility 'sg_persist' is available on RHEL-4 & RHEL-5 as part of the 'sg3_utils' package. More details available at these links: http://sg.torque.net/sg/sg3_utils.html http://www.sourcefiles.org/Utilities/Miscellaneous/sg3_utils-1.21.tgz.shtml The tgz file includes an example of using sg_persist in file 'sg_persist_tst.sh'. Regards Nigel Smith This message posted from opensolaris.org _______________________________________________ storage-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/storage-discuss
