I have a NFS server on FreeBSD providing File Services for multiple Linux systems. On this blog post I will document how to mount NFS to Linux.
NFS Server
On NFS Server (192.168.8.115), I must have following configuration in /etc/exports
V4: /nfs
/nfs/primary -maproot=root -network 192.168.8.0/24
/nfs/supplement -maproot=root -network 192.168.8.0/24
I wrote another blog post how to configure NFS on FreeBSD with ZFS.
NFS Client
To permanently mount NFS you must add following two lines to /etc/fstab
192.168.8.115:/primary /mnt/primary nfs4 rw,_netdev 0 0
192.168.8.115:/supplement /mnt/supplement nfs4 rw,_netdev 0 0
No comments:
Post a Comment