Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Help with NFS mount setup (12.0-U7)

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE

georgios

Cadet
Joined
Dec 6, 2021
Messages
2
I need some advice please to get NFS working. Ping succeeds and I already have SMB working.
Client: 192.168.1.112
Server: 192.168.1.114

/etc/fstab
Code:
192.168.1.114:/mnt/helios/music /mnt/music          nfs         rw,defaults,user,noauto 0 0

Terminal (client)
Code:
client > showmount -e 192.168.1.114
Export list for 192.168.1.114:
/mnt/helios/music 192.168.1.112

client > rpcinfo -p 192.168.1.114
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100000    4     7    111  portmapper
    100000    3     7    111  portmapper
    100000    2     7    111  portmapper
    100005    1   udp   1013  mountd
    100005    3   udp   1013  mountd
    100005    1   tcp   1013  mountd
    100005    3   tcp   1013  mountd
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100024    1   udp    856  status
    100024    1   tcp    856  status
    100021    0   udp    750  nlockmgr
    100021    0   tcp    917  nlockmgr
    100021    1   udp    750  nlockmgr
    100021    1   tcp    917  nlockmgr
    100021    3   udp    750  nlockmgr
    100021    3   tcp    917  nlockmgr
    100021    4   udp    750  nlockmgr
    100021    4   tcp    917  nlockmgr

client > mount -vvv /mnt/music
mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.114,clientaddr=192.168.1.112'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'vers=4,minorversion=1,addr=192.168.1.114,clientaddr=192.168.1.112'
mount.nfs: mount(2): Permission denied
mount.nfs: trying text-based options 'vers=4,addr=192.168.1.114,clientaddr=192.168.1.112'
mount.nfs: mount(2): Permission denied
mount.nfs: trying text-based options 'addr=192.168.1.114'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.1.114 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.1.114 prog 100005 vers 3 prot UDP port 699
mount.nfs: mount(2): Input/output error
mount.nfs: access denied by server while mounting 192.168.1.114:/mnt/helios/music

Terminal (truenas)
Code:
nas > cat /var/log/messages
Dec 22 09:56:56 truenas 1 2021-12-22T09:56:56.026227-08:00 truenas.local mountd4759 - - mount request succeeded from 192.168.1.112 for /mnt/helios/music



pool-acl.png
nfs-share.png
nfs-edit.png
 
Top