Hi, On 20/05/14 19:18, Wouter Verhelst wrote: > root@samba:~# zfs set sharenfs=on samba/root/home/wouter > warning: mountd isn't supported in Debian GNU/kFreeBSD yet
sharenfs is old Solaris syntax for an nfsd implementation that I think was entirely in the kernel. I'm not sure if regular FreeBSD implements that option either. On Debian GNU/kFreeBSD you'll want to install the freebsd-nfs-server package. It's configured in /etc/exports with syntax that differs only slightly from Linux, e.g.: > /srv/nfs/example -maproot=nobody 192.168.1.2 to export that directory (or a mountpoint for a ZFS sub-filesystem), writable, to that one host. The mountd service must be restarted to apply changes in that file. With a wheezy server I have at least nfsv3 working. lockd is running but I'm not sure if it's doing anything. For some reason I forced nfsd to listen on TCP only, but I'm not sure if that's essential: /etc/default/nfsd: > DAEMON_ARGS="-t" I also mount the nfs share with options vers=3,proto=tcp but I'm not sure if I still need to specify that. Also rsize=32768,wsize=32768 because IIRC the defaults were very low and 32768 is the maximum value. And I used the sync option, which may be even faster than async, since I have a ZIL device on SSD. But I recommend to experiment, benchmark, and let us know how it all goes. Regards, -- Steven Chamberlain ste...@pyro.eu.org -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/537beb7c.9060...@pyro.eu.org