solaris zfs nfs share

root@solaris11-1:~# zfs set share=name=kanweg,path=/rpool/kanweg,prot=nfs rpool/kanweg
name=kanweg,path=/rpool/kanweg,prot=nfs
root@solaris11-1:~# zfs sharenfs=on rpool/kanweg
root@solaris11-1:~# dfshares|grep kanweg
solaris11-1:/rpool/kanweg solaris11-1 - -

other example:
zfs set share=name=fs1,path=/temppool/fs1,prot=nfs,root=192.168.4.235,rw=192.168.4.235 temppool/fs1

This entry was posted in solaris. Bookmark the permalink.

Comments are closed.