hi all,
I needed iSCSI and I needed reservations for cluster use - Veritas/Symantec cluster suite in particular. In case people have not used this, it includes a test utility to run against a LUN/Target from 2 nodes that tests the reservation features. This is called vxfentsthdw. I created 2 iSCSI Luns and tested on 2 nodes against one of them. The results were :
Testing blade1 /dev/rdsk/c4t11d0s2 blade2 /dev/rdsk/c4t11d0s2
Evaluate the disk before testing ........................ No Pre-existing keys
RegisterIgnoreKeys on disk /dev/rdsk/c4t11d0s2 from node blade1 ........ Passed
Verify registrations for disk /dev/rdsk/c4t11d0s2 on node blade1 ....... Passed
RegisterIgnoreKeys on disk /dev/rdsk/c4t11d0s2 from node blade2 ........ Passed
Verify registrations for disk /dev/rdsk/c4t11d0s2 on node blade2 ....... Passed
Unregister keys on disk /dev/rdsk/c4t11d0s2 from node blade1 ........... Passed
Verify registrations for disk /dev/rdsk/c4t11d0s2 on node blade2 ....... Failed
Unregistration test for disk failed on node blade2.
Unregistration from one node is causing unregistration of keys from the other node.
Disk is not SCSI-3 compliant on node blade2.
Execute the utility vxfentsthdw again and if failure persists contact
the vendor for support in enabling SCSI-3 persistent reservations
Removing test keys and temporary files, if any...
Besides the above, there were lots of errors in the freenas messages file :
Mar 23 16:01:06 freenas istgt[2113]: istgt_lu_disk.c:5228:istgt_lu_disk_queue_start: ***ERROR*** lu_disk_execute() failed
Mar 23 16:01:06 freenas istgt[2113]: istgt_lu.c:2803:luworker: ***ERROR*** LU1: lu_disk_queue_start() failed
Mar 23 16:01:27 freenas istgt[2113]: istgt_lu_disk.c:6553:istgt_lu_disk_execute: ***ERROR*** data_alloc_len(8192) too small
Mar 23 16:01:27 freenas istgt[2113]: istgt_lu_disk.c:5228:istgt_lu_disk_queue_start: ***ERROR*** lu_disk_execute() failed
Mar 23 16:01:27 freenas istgt[2113]: istgt_lu.c:2803:luworker: ***ERROR*** LU1: lu_disk_queue_start() failed
Mar 23 16:01:48 freenas istgt[2113]: istgt_lu_disk.c:6553:istgt_lu_disk_execute: ***ERROR*** data_alloc_len(8192) too small
Mar 23 16:01:48 freenas istgt[2113]: istgt_lu_disk.c:5228:istgt_lu_disk_queue_start: ***ERROR*** lu_disk_execute() failed
Mar 23 16:01:48 freenas istgt[2113]: istgt_lu.c:2803:luworker: ***ERROR*** LU1: lu_disk_queue_start() failed
The freenasserver is a quad-core i5 4Gb RAM. The targets were created as a 10g and a 20g volume off a single 1TbSATA2 disk that i had zfs'ed for testing. The initiators were on 2 Sun Blade UltraSPARC servers running solaris 10.
Any pointers/opinions would be appreciated.
Thanks
I needed iSCSI and I needed reservations for cluster use - Veritas/Symantec cluster suite in particular. In case people have not used this, it includes a test utility to run against a LUN/Target from 2 nodes that tests the reservation features. This is called vxfentsthdw. I created 2 iSCSI Luns and tested on 2 nodes against one of them. The results were :
Testing blade1 /dev/rdsk/c4t11d0s2 blade2 /dev/rdsk/c4t11d0s2
Evaluate the disk before testing ........................ No Pre-existing keys
RegisterIgnoreKeys on disk /dev/rdsk/c4t11d0s2 from node blade1 ........ Passed
Verify registrations for disk /dev/rdsk/c4t11d0s2 on node blade1 ....... Passed
RegisterIgnoreKeys on disk /dev/rdsk/c4t11d0s2 from node blade2 ........ Passed
Verify registrations for disk /dev/rdsk/c4t11d0s2 on node blade2 ....... Passed
Unregister keys on disk /dev/rdsk/c4t11d0s2 from node blade1 ........... Passed
Verify registrations for disk /dev/rdsk/c4t11d0s2 on node blade2 ....... Failed
Unregistration test for disk failed on node blade2.
Unregistration from one node is causing unregistration of keys from the other node.
Disk is not SCSI-3 compliant on node blade2.
Execute the utility vxfentsthdw again and if failure persists contact
the vendor for support in enabling SCSI-3 persistent reservations
Removing test keys and temporary files, if any...
Besides the above, there were lots of errors in the freenas messages file :
Mar 23 16:01:06 freenas istgt[2113]: istgt_lu_disk.c:5228:istgt_lu_disk_queue_start: ***ERROR*** lu_disk_execute() failed
Mar 23 16:01:06 freenas istgt[2113]: istgt_lu.c:2803:luworker: ***ERROR*** LU1: lu_disk_queue_start() failed
Mar 23 16:01:27 freenas istgt[2113]: istgt_lu_disk.c:6553:istgt_lu_disk_execute: ***ERROR*** data_alloc_len(8192) too small
Mar 23 16:01:27 freenas istgt[2113]: istgt_lu_disk.c:5228:istgt_lu_disk_queue_start: ***ERROR*** lu_disk_execute() failed
Mar 23 16:01:27 freenas istgt[2113]: istgt_lu.c:2803:luworker: ***ERROR*** LU1: lu_disk_queue_start() failed
Mar 23 16:01:48 freenas istgt[2113]: istgt_lu_disk.c:6553:istgt_lu_disk_execute: ***ERROR*** data_alloc_len(8192) too small
Mar 23 16:01:48 freenas istgt[2113]: istgt_lu_disk.c:5228:istgt_lu_disk_queue_start: ***ERROR*** lu_disk_execute() failed
Mar 23 16:01:48 freenas istgt[2113]: istgt_lu.c:2803:luworker: ***ERROR*** LU1: lu_disk_queue_start() failed
The freenasserver is a quad-core i5 4Gb RAM. The targets were created as a 10g and a 20g volume off a single 1TbSATA2 disk that i had zfs'ed for testing. The initiators were on 2 Sun Blade UltraSPARC servers running solaris 10.
Any pointers/opinions would be appreciated.
Thanks