Exportfs

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

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