Exportfs: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Linux =Overview= =List Filesystems Exported by a NFS Sever= Use: <pre> exportfs [-v] </pre> <tt>exportfs</tt> without any argument displa...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
=Overview= | =Overview= | ||
<tt>exportfs</tt> is the utility that maintains the table of exported NFS file systems on a host. The NFS server maintains a table of local physical file systems that are accessible to NFS clients. Each file system in this table is referred to as an ''exported file system'', or ''export''. | |||
=List Filesystems Exported by a NFS Sever= | =List Filesystems Exported by a NFS Sever= | ||
Line 14: | Line 16: | ||
<tt>exportfs</tt> without any argument displays the filesystems exported on the host. If <tt>-v</tt> is used, a list of export options is also displayed. | <tt>exportfs</tt> without any argument displays the filesystems exported on the host. If <tt>-v</tt> is used, a list of export options is also displayed. | ||
Example: | |||
<pre> | |||
/volume1/wiki 192.168.1.2(rw,async,no_root_squash,no_subtree_check,insecure_locks,anonuid=0,anongid=0,sec=sys,rw,no_root_squash,no_all_squash) | |||
/volume3/dropbox 192.168.1.2(rw,async,no_root_squash,no_subtree_check,insecure_locks,anonuid=0,anongid=0,sec=sys,rw,no_root_squash,no_all_squash) | |||
</pre> | |||
=Export Filesystems= | |||
=Unexport Filesystems= |
Latest revision as of 07:39, 21 August 2016
Internal
Overview
exportfs is the utility that maintains the table of exported NFS file systems on a host. The NFS server maintains a table of local physical file systems that are accessible to NFS clients. Each file system in this table is referred to as an exported file system, or export.
List Filesystems Exported by a NFS Sever
Use:
exportfs [-v]
exportfs without any argument displays the filesystems exported on the host. If -v is used, a list of export options is also displayed.
Example:
/volume1/wiki 192.168.1.2(rw,async,no_root_squash,no_subtree_check,insecure_locks,anonuid=0,anongid=0,sec=sys,rw,no_root_squash,no_all_squash) /volume3/dropbox 192.168.1.2(rw,async,no_root_squash,no_subtree_check,insecure_locks,anonuid=0,anongid=0,sec=sys,rw,no_root_squash,no_all_squash)