On Thu, Nov 5, 2009 at 3:17 PM, krad <kraduk_at_googlemail.com> wrote: > 2009/11/5 Freddie Cash <fjwcash_at_gmail.com> >> The syntax is the same. Anything you can put into /etc/exports you >> can put into the sharenfs property. In fact, behind the scenes, the >> sharenfs property is just copied into a private exports file, and the >> nfs daemon uses that in addition to /etc/exports. >> >> The man pages for ZFS are just dumps of the Solaris ones, so a lot of >> the info is not quite right for a FreeBSD system. > > unless im missing something you have to do it the legacy way > > (root_at_carrera)-(23:13:05)-(~) 0 > $ zfs set sharenfs=yes zdump/web > (root_at_carrera)-(23:13:23)-(~) 0 > $ showmount -e 127.0.0.1 > Exports list on 127.0.0.1: > /videos Everyone > (root_at_carrera)-(23:13:26)-(~) 0 > $ Put the settings you would normally put into /etc/exports into the sharenfs property: [fcash_at_megadrive ~]$ zfs get sharenfs storage/backup NAME PROPERTY VALUE SOURCE storage/backup sharenfs -maproot=root 192.168.0.12 local [fcash_at_megadrive ~]$ showmount -e Exports list on localhost: /storage/backup 192.168.0.12 -- Freddie Cash fjwcash_at_gmail.comReceived on Thu Nov 05 2009 - 22:33:26 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:57 UTC