NFS Shares


Recommended Posts

I'm trying to mount an share from Unraid using NFS from my rapsberrypi. I can ping my Unraid server from the pi

 

192.168.1.4:/mnt/user/Media /var/media

When I try to mount the NFS share on the Pi, I get the following;

 

root@raspberrypi:~# mount.nfs -vw 192.168.1.4:/mnt/user/Media /var/media
mount.nfs: timeout set for Fri Nov  8 16:06:20 2019
mount.nfs: trying text-based options 'vers=4.2,addr=192.168.1.4,clientaddr=192.168.2.6'
mount.nfs: mount(2): Invalid argument
mount.nfs: trying text-based options 'vers=4.1,addr=192.168.1.4,clientaddr=192.168.2.6'

On UnRaid:

 

root@Home-Server:~# cat /etc/exports
# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.

"/mnt/user/Media" -async,no_subtree_check,fsid=100 *(sec=sys,rw,insecure,anongid=100,anonuid=99,all_squash)
root@Home-Server:~# exportfs -v
exportfs: No host name given with /mnt/user/systemfile2 (ro,async,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,fsid=101,anonuid=65534,anongid=65534,sec=sys,secure,root_squash,no_all_squash), suggest*(ro,async,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,acl,no_pnfs,fsid=101,anonuid=65534,anongid=65534,sec=sys,secure,root_squash,no_all_squash) to avoid warning
/mnt/user/Media
                <world>(rw,async,wdelay,hide,no_subtree_check,fsid=100,anonuid=99,anongid=100,sec=sys,insecure,root_squash,all_squash)
/mnt/user/systemfile2
                <world>(ro,async,wdelay,hide,no_subtree_check,fsid=101,sec=sys,secure,root_squash,no_all_squash)
/mnt/user/torrentserver
                <world>(rw,async,wdelay,hide,no_subtree_check,fsid=102,anonuid=99,anongid=100,sec=sys,insecure,root_squash,all_squash)

 

 

I know I'm missing something stupid here, any help? Thanks!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.