> 0 <- iscsi_lun_offline iscsi_lun_offline - return:1 > 0 <- iscsi_lun_offline iscsi_lun_offline - return:1 > 1 <- iscsi_lun_offline iscsi_lun_offline - return:1 > 1 <- iscsi_lun_offline iscsi_lun_offline - return:1
It looks like your right. Assuming arg1 was the return value then a return of 1 would be ISCSI_STATUS_INTERNAL_ERROR. Based on your initial posting we know your device paths are not under MPxIO, /dev/rdsk/c2t4d0s2, so your hitting the line... http://src.opensolaris.org/source/xref/nwsc/src/sun_nws/iscsi/src/iscsi_lun.c#631 The fact it doesn't even try the ndi_devi_offline() without lun_free is interesting. I'm close to positive this usage of "devfsadm -C" used to do what you want. If you look at line... http://src.opensolaris.org/source/xref/nwsc/src/sun_nws/iscsi/src/iscsi_lun.c#22 We can tell that someone has been changing this file recently, atleast in 2008, although since NWS doesn't post there revision history there is no way we can see if this is a regression. (I will try and get a hold of an old friend to get his input on this area.) I guess the question is still open for Sun to confirm. This message posted from opensolaris.org _______________________________________________ storage-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/storage-discuss
