OpenSolaris

Printable Version Enter a New Search
Bug ID 6683826
Synopsis ZFS does not unshare destroyed iSCSI targets
State 10-Fix Delivered (Fix available in build)
Category:Subcategory storage_target:iscsi
Keywords opensolaris
Responsible Engineer Nattuvetty Bhavyan
Reported Against snv_85
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_92
Fixed In snv_92
Release Fixed solaris_nevada(snv_92) , solaris_10u7(s10u7_04) (Bug ID:2167593)
Related Bugs 6683703
Submit Date 3-April-2008
Last Update Date 27-November-2008
Description
Category
   storage_target
Sub-Category
   iscsi
Description
   When creating a ZFS filesystem, sharing it via iSCSI and then destroying the ZFS filesystem, ZFS does not automatically unshare the iSCSI target.
Frequency
   Always
Regression
   No
Steps to Reproduce
   zfs create -s -V 16K storagepool/zfs-target
zfs set shareiscsi=on storagepool/zfs-target
iscsitadm list target -v
zfs destroy storagepool/zfs-target
iscsitadm list target -v
Expected Result
   iscsitadm does report an empty target list.
Actual Result
   $ iscsitadm list target -v
Target: storagepool/zfs-target
    iSCSI Name: iqn.1986-03.com.sun:02:76066345-b2d0-6cc9-f669-8b37ac3d7834
    Alias: storagepool/zfs-target
    Connections: 0
    ACL list:
    TPGT list:
    LUN information:
        LUN: 0
            GUID: 0
            VID: SUN
            PID: SOLARIS
            Type: disk
            Size:   16K
            Backing store: /dev/zvol/rdsk/storagepool/zfs-target
            Status: online
Error Message(s)
   
Test Case
   
Workaround
   Run the following command before destroying the filesystem:
zfs set shareiscsi=off storagepool/zfs-target
Submitter wants to work on bug
   No
Additional configuration information
   OpenSolaris build 85:
$ uname -a
SunOS qbic 5.11 snv_85 i86pc i386 i86pc
Work Around
N/A
Comments
N/A