libiscsi
libiscsi copied to clipboard
iscsi client library and utilities
iser discovery seems not fully implemented, I can't find an example for it. Therefor I simply modify from iscsi-ls, change iscsi:// to iser:// Then got segmentation fault after iscsi context...
iscsi_login_async callback function won't be called if some error happen, but the function return code is 0 in this condition, iscsi_service will always failed in iscsi_service_reconnect_if_loggedin. is this a known...
In **test_iscsi_datasn_invalid**, the test will send out invalid datasn to verify if iSCSI target will return error. In this case, when datasn == 27, from the packets we captured, it...
Hi Ronnie, I happened to find a bug in the following test suite. **Suite: Inquiry** ```bash Test: BlockLimits ... [WARNING] SBC-3 pagelength (>=60) returned but SBC-3 support was not claimed...
In SBC-4, a new bit is added to WRITE SAME (16) called NDOB. It's used to indicate whether the data in the data-out-buffer should be used when the UNMAP bit...
Hello, I'm getting the following output from QEMU with LIBISCSI_DEBUG=100: ``` libiscsi:5 small allocation size is 256 byte libiscsi:2 connecting to portal 10.10.1.1:12000 [iqn.2018-02.testing.local:ds1] libiscsi:1 revents is not POLLIN [iqn.2018-02.testing.local:ds1]...
How to set auto reconnect to server if connection broken? It seems not recovery iscsi connection after host is down for a period time.
On macOS 10.13 I have a piece of code doing this: ``` [working connection that successfully does read capacity 16] iscsi_set_reconnect_max_retries(ifd->iscsi, 0); iscsi_set_timeout(ifd->iscsi, 3); ret = iscsi_logout_sync(ifd->iscsi); ``` Sometimes after...
[SKIPPED] REPORT_SUPPORTED_OPCODES is not implemented. [FAILED] PRIN command: failed with sense. SENSE KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400) CUnit - A unit testing framework for C - Version 2.1-2 http://cunit.sourceforge.net/ Suite: CompareAndWrite Test: Simple...
Test Case Name: SCSI.ProutReserve This test case issues PR OUT reservation command to target with all types of reservation mentioned in SCSI specification, but this test case seems to be...