unshare a zfs filesystem: "share not found"
Hi!
Solaris 11.4
pls help. Where is my typo ?
I shared a zfs filesystem:
# zfs set share=name=ldoms,path=/ldoms,prot=nfs,rw=*,root=* ldoms
name=ldoms,path=/ldoms,prot=nfs,sec=sys,rw=*,root=*
# zfs get share
NAME PROPERTY VALUE SOURCE
ldoms share name=ldoms,path=/ldoms local
I try to unshare it:
# zfs set -c share=name=ldoms ldoms
cannot remove share 'ldoms' from 'ldoms': share not found
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
ldoms 470G 537G 35K /ldoms
ldoms/VirtualDisks 320G 537G 320G /ldoms/VirtualDisks
ldoms/images 150G 537G 150G /ldoms/images
ldoms/volumes 31K 537G 31K /ldoms/volumes