NFS config files?

Tom H tomh0665 at gmail.com
Tue Aug 11 15:00:53 UTC 2020


On Tue, Aug 11, 2020 at 4:15 AM Karl Auer <kauer at biplane.com.au> wrote:
>
> If anyone out there has a working NFS mount, I would very much
> appreciate seeing
>
> - your /etc/exports
> - the client's fstab entry
> - "ls -lad" for the exported directory
> - "ls -lad" for the client's mount point.

I don't have an Ubuntu or even Linux nfs server. I hope that it's of SOME help.

OpenBSD server (nfsv4 not implemented):

$ rpcinfo -p | awk '/2049/ { $1=$1; print }'
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs

$ cat /etc/exports
/home/th -network=192.168.0.0 -mask 255.255.255.0

$ ls -ld /home/th
drwxr-xr-x  3 th  staff  512 Aug 11 16:35 /home/th

Ubuntu client:

$ findmnt /home/th/openbsd
TARGET           SOURCE                 FSTYPE OPTIONS
/home/th/openbsd 192.168.0.242:/home/th nfs
rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.0.242,mountvers=3,mountport=723,mountproto=udp,local_lock=none,addr=192.168.0.242

$ ls -ld openbsd
drwx------ 3 th th 512 Aug 11 16:36 openbsd




More information about the ubuntu-users mailing list