no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


nfs [2016/04/27 16:38] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== NFS ======
  
 +NFS uses ''hosts.allow'' and ''hosts.deny'' for IP address restriction.
 +
 +** Reload ''/etc/exports'' **
 +
 +<code>
 +exportfs -ra
 +</code>
 +
 +** Display available mounts **
 +
 +<code>
 +showmount -e nas
 +</code>
 +
 +=== ZFS ===
 +
 +ZFS allows setting up an NFS share directly with the filesystem.
 +
 +<code>
 +zfs set sharenfs=on zpool/zfsset
 +</code>
 +
 +You can also set the NFS settings directly:
 +
 +<code>
 +zfs set sharenfs=[nfs settings] zpool/zfsset
 +</code>
 +
 +I have *not* had any success setting this up with ZFS on Linux (0.6.3).  I get server access denied no matter what configuration I try.  In contrast, I've tried it with NAS4Free, and it works fine.
 +==== Examples ====
 +
 +** Read-only to subnet **
 +
 +<code>
 +/var/nfs/images *(ro,no_subtree_check)
 +</code>

Navigation
QR Code
QR Code nfs (generated for current page)