Table of Contents


Home Wiki



Configuration-file for NFS-Server (if NFS-Server is installed):


Example “/etc/exports”:

/home/tmade/nfs *(fsid=0,ro,sync,root_squash)
/nfs/test       *(fsid=0,rw,sync,no_root_squash)
/nfs/software,sync,no_root_squash,no_subtree_check)       #Allow share "/nfs/software" to network
<export> <host1>(<options>) <hostN>(<options>)...
/data/backup  testclient.local(rw,sync,no_root_squash,no_subtree_check)      #Allow share "/data/backup" to host "testclient.local"


mount -t nfs partner_IP:/export/data /mnt/share                              #Mount(Linux to Linux)
mount -v -o vers=3 -t nfs partner_IP:/export/data /mnt/share
mount IP:\sharename x:                                                       #Mount(Windows to Linux). Services for Unix (Windows Services for UNIX Version 3.5) has to be installed.
MOUNT TYPE(*NFS) MFS('') MNTOVRDIR('medicnfs')    #Mount(Windows to AS400 -Iseries)

Reload “/etc/exports”:

exportfs -rav

Show Shares

Showmount queries the mount daemon on a remote host for information about the state of the NFS server on that machine.

showmount -e IP             #On Linux
showmount -e localhost
linux/nfs.txt · Last modified: 2021/03/20 07:44 by tmade
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki