Exportfs: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(One intermediate revision 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 21: Line 23:
/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)
/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>
</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)

Export Filesystems

Unexport Filesystems