/etc/exports

From NovaOrdis Knowledge Base
Revision as of 08:56, 21 August 2016 by Ovidiu (talk | contribs) (→‎Example)
Jump to navigation Jump to search

Internal

Overview

/etc/exports contains a table of local physical file systems on an NFS server that are accessible to NFS clients. The contents of the file are maintained by the server's system administrator. Each file system in this table has a list of options and an access control list. The table is used by exportfs command.

Example

/volume1/wiki        192.168.1.2(rw,async,no_wdelay,no_root_squash,insecure_locks,sec=sys,anonuid=0,anongid=0)
/volume3/dropbox 192.168.1.0/24(rw,async,no_wdelay,no_root_squash,insecure_locks,sec=sys,anonuid=0,anongid=0)

Configuration Options

See:

NFS Configuration - Export Options