Is it possible to re-create or clone an existing iSCSI target not backed by a ZFS volume? I ask because upon rebooting a X4500 Thumper, I was affected by this bug: http://wesunsolve.net/bugid/id/6803721 The same bug is also here, https://defect.opensolaris.org/bz/show_bug.cgi?id=7482, but I am suddenly unauthorized to view that page.
Consequently, the LUN parameters for one our iSCSI targets, displayed when executing 'iscsitadm list target -v', are now all unknown. The iSCSI target can be connected to from its Windows Server 2008 initiator, but no disk is ever mounted. The actual data exists in the backing store directory (/export/pool1/iscsi/iqn.1900.fakeiqn/lun.0).
For some additional information, this iSCSI target was created in the following manner:
1) zfs create pool1/iscsi
2) iscsitadm modify admin --base-directory /export/pool1/iscsi
3) iscsitadm create target --size 1T this.is.a.long.target.name.affected.by.the.bug.above
4) The base directory is laid out as follows (ls -al /export/pool1/iscsi):
drwxr-xr-x 2 root sys 3 Jan 30 10:10 iqn.1900.fakeiqn.target
lrwxrwxrwx 1 root sys 87 Nov 4 2010 this.is.a.long.target.name.affected.by.the.bug.above -> /export/pool1/iscsi/iqn.1900.fakeiqn.target
If it is not possible to re-create or clone this existing iSCSI target, can the LUN data be retrieved any other way?
Thank you for your help.