OpenSolaris

Printable Version Enter a New Search
Bug ID 6683493
Synopsis Get error message "cannot unshare 'mypool': unknown -1: unshare(1M) failed" when unset sharesmb
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:cifs
Keywords
Responsible Engineer Doug Mccallum
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_99
Fixed In snv_99
Release Fixed solaris_nevada(snv_99)
Related Bugs 6683496
Submit Date 2-April-2008
Last Update Date 24-September-2008
Description
When unset sharesmb using zfs set, the error message "cannot unshare 'mypool': unknown -1: unshare(1M) failed" is displayed but it actually turns off sharesmb.

-bash-3.2# sharemgr show -vp
default nfs=()
mygroup smb=() nfs=()
zfs
    zfs/mypool smb=()
          /mypool
                  mypool=/mypool
                  test_sharemgr=/mypool
          mypool_qlvol2=/mypool/qlvol2
          mypool_qlvol3=/mypool/qlvol3
-bash-3.2# zfs set sharesmb=off mypool
cannot unshare 'mypool': unknown -1: unshare(1M) failed  <==== get error message
-bash-3.2# sharemgr show -vp
default nfs=()
mygroup smb=() nfs=()
zfs
-bash-3.2#
Work Around
N/A
Comments
N/A