|
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#
|