I had this problem with Nexenta as well, so I figured I'd try Solaris DE. The zpool import -f tank worked as expected, except for:
bash-3.00# zpool import -f tank cannot share 'tank/iscsi_luns/vol4': iscsitgtd failed request to share However the main issue is when I try and access a target from a Windows XP client with Microsoft iScsi Initiator (2.03). Connects fine, but doesn't appear in Disk Manager and "Refresh" puts it into a permanent "reconnecting" state on the windows client. The solaris box has the below issue. I note [1], but assumed that SE:DE 02/07 would have this patch. [1] http://mail.opensolaris.org/pipermail/onnv-notify/2006-December/006457.html bash-3.00# iscsitadm list target iscsitadm: Bad XML response bash-3.00# iscsitadm list target -v iscsitadm: Bad XML response Any suggestions why this is happening? System details: bash-3.00# uname -a SunOS solaris-devx 5.11 snv_55b i86pc i386 i86pc bash-3.00# svcs -a | grep iscs disabled 12:56:22 svc:/network/iscsi_initiator:default online 13:30:28 svc:/system/iscsitgt:default bash-3.00# zfs list NAME USED AVAIL REFER MOUNTPOINT tank 60.1G 1.72T 100M /tank tank/iscsi_luns 60.0G 1.72T 39.1K /tank/iscsi_luns tank/iscsi_luns/vol1 35.9K 1.78T 35.9K - bash-3.00# iscsitadm list target -v Target: tank/iscsi_luns/vol1 iSCSI Name: iqn.1986-03.com.sun:02:af98bf67-3597-427d-f984-d0501678dae1 Alias: tank/iscsi_luns/vol1 Connections: 0 ACL list: TPGT list: LUN information: LUN: 0 GUID: 0x0 VID: SUN PID: SOLARIS Type: disk Size: 60G Backing store: /dev/zvol/rdsk/tank/iscsi_luns/vol1 Status: online bash-3.00# zfs list -v tank/iscsi_luns/vol1 invalid option 'v' usage: list [-rH] [-o property[,property]...] [-t type[,type]...] [-s property [-s property]...] [-S property [-S property]...] [filesystem|volume|snapshot] ... The following properties are supported: PROPERTY EDIT INHERIT VALUES type NO NO filesystem | volume | snapshot creation NO NO <date> used NO NO <size> available NO NO <size> referenced NO NO <size> compressratio NO NO <1.00x or higher if compressed> mounted NO NO yes | no | - origin NO NO <snapshot> quota YES NO <size> | none reservation YES NO <size> | none volsize YES NO <size> volblocksize NO NO 512 to 128k, power of 2 recordsize YES YES 512 to 128k, power of 2 mountpoint YES YES <path> | legacy | none sharenfs YES YES on | off | share(1M) options shareiscsi YES YES on | off | type=<type> checksum YES YES on | off | fletcher2 | fletcher4 | sha256 compression YES YES on | off | lzjb atime YES YES on | off devices YES YES on | off exec YES YES on | off setuid YES YES on | off readonly YES YES on | off zoned YES YES on | off snapdir YES YES hidden | visible aclmode YES YES discard | groupmask | passthrough aclinherit YES YES discard | noallow | secure | passthrough canmount YES NO on | off Sizes are specified in bytes with standard units such as K, M, G, etc. User-defined properties can be specified by using a name containing a colon (:). bash-3.00# iscsitadm list target -v Target: tank/iscsi_luns/vol1 iSCSI Name: iqn.1986-03.com.sun:02:af98bf67-3597-427d-f984-d0501678dae1 Alias: tank/iscsi_luns/vol1 Connections: 0 ACL list: TPGT list: LUN information: LUN: 0 GUID: 0x0 VID: SUN PID: SOLARIS Type: disk Size: 60G Backing store: /dev/zvol/rdsk/tank/iscsi_luns/vol1 Status: online [[ Added to Windows initiator. One difference ]] bash-3.00# iscsitadm list target -v Target: tank/iscsi_luns/vol1 iSCSI Name: iqn.1986-03.com.sun:02:af98bf67-3597-427d-f984-d0501678dae1 Alias: tank/iscsi_luns/vol1 Connections: 0 ACL list: TPGT list: LUN information: LUN: 0 GUID: 01000016e6d5b69000002a0045fdf880 VID: SUN PID: SOLARIS Type: disk Size: 60G Backing store: /dev/zvol/rdsk/tank/iscsi_luns/vol1 Status: online bash-3.00# iscsitadm list target -v iscsitadm: Bad XML response [[ Deleting the target seems to reset things ]] bash-3.00# zfs destroy -r tank/iscsi_luns/vol1 cannot unshare 'tank/iscsi_luns/vol1': iscsitgtd failed request to unshare bash-3.00# zfs destroy -r tank/iscsi_luns/vol1 cannot open 'tank/iscsi_luns/vol1': dataset does not exist bash-3.00# zfs create -V 60G tank/iscsi_luns/vol1 bash-3.00# iscsitadm list target -v Target: tank/iscsi_luns/vol1 iSCSI Name: iqn.1986-03.com.sun:02:a3f01207-5e0b-ea64-d4b7-e4081b5ab7fe Alias: tank/iscsi_luns/vol1 Connections: 0 ACL list: TPGT list: LUN information: LUN: 0 GUID: 0x0 VID: SUN PID: SOLARIS Type: disk Size: 60G Backing store: /dev/zvol/rdsk/tank/iscsi_luns/vol1 Status: online
_______________________________________________ storage-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/storage-discuss
