TechDaddy Posted November 19, 2017 Share Posted November 19, 2017 (edited) SOLVED Trying to hone my Linux-Fu and run my plex server on a separate machine. It is running Linux Mint 18.2. I have exported and setup my NFS Shares on unRaid properly but I'm running into the following issues when running "mount -a". NOTE: Doing a straight mount command from bash works properly. I would love to get this to automount during a reboot. I know that I also have to wait for the network to become "active" before letting it try to mount. Not sure how to do that! /etc/fstab Quote # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> /dev/mapper/mint--vg-root / ext4 errors=remount-ro 0 1 # /boot was on /dev/sda2 during installation UUID=51162a11-c424-4f8c-baae-5663f4d91cc0 /boot ext2 defaults 0 2 # /boot/efi was on /dev/sda1 during installation UUID=DBC9-F935 /boot/efi vfat umask=0077 0 1 /dev/mapper/mint--vg-swap_1 none swap sw 0 0 # Media Mapnfs s 192.168.1.9:/mnt/user/tv /mnt/nfs/media/tv nfs auto,noatime,nolock,bg,nfsvers=3,intr,tcp,actimeo=1800 0 0 192.168.1.9:/mnt/user/movies /mnt/nfs/media/movies nfs auto,noatime,nolock,bg,nfsvers=3,intr,tcp,actimeo=1800 0 0 192.168.1.9:/mnt/user/pictures /mnt/nfs/media/pictures nfs auto,noatime,nolock,bg,nfsvers=3,intr,tcp,actimeo=1800 0 0 192.168.1.9:/mnt/user/home\040videos /mnt/nfs/media/homevideos nfs auto,noatime,nolock,bg,nfsvers=3,intr,tcp,actimeo=1800 0 0 Front Linux Server: Quote localadm@HTPC ~ $ sudo mount -a mount.nfs: access denied by server while mounting 192.168.1.9:/mnt/user/tv mount.nfs: access denied by server while mounting 192.168.1.9:/mnt/user/movies mount.nfs: access denied by server while mounting 192.168.1.9:/mnt/user/pictures mount.nfs: access denied by server while mounting 192.168.1.9:/mnt/user/home videos unRaid Log: Quote Nov 18 19:23:46 Tower rpc.mountd[3477]: refused mount request from 192.168.1.11 for /mnt/user/tv (/): not exportedNov 18 19:23:46 Tower rpc.mountd[3477]: refused mount request from 192.168.1.11 for /mnt/user/movies (/): not exportedNov 18 19:23:46 Tower rpc.mountd[3477]: refused mount request from 192.168.1.11 for /mnt/user/pictures (/): not exportedNov 18 19:23:46 Tower rpc.mountd[3477]: refused mount request from 192.168.1.11 for /mnt/user/home videos (/): not exported Edited November 20, 2017 by TechDaddy Solved Quote Link to comment
ken-ji Posted November 19, 2017 Share Posted November 19, 2017 Run cat /etc/exports exportfs -v on the unRAID server. This will show us which and how your shares are exported Quote Link to comment
TechDaddy Posted November 20, 2017 Author Share Posted November 20, 2017 Quote /root$ 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/Home Videos" -async,no_subtree_check,fsid=100 *(sec=sys,rw,insecure,anongid=100,anonuid=99,all_squash) "/mnt/user/Movies" -async,no_subtree_check,fsid=101 *(sec=sys,rw,insecure,anongid=100,anonuid=99,all_squash) "/mnt/user/Pictures" -async,no_subtree_check,fsid=102 *(sec=sys,rw,insecure,anongid=100,anonuid=99,all_squash) "/mnt/user/Plex" -async,no_subtree_check,fsid=103 *(sec=sys,rw,insecure,anongid=100,anonuid=99,all_squash) "/mnt/user/TV" -async,no_subtree_check,fsid=104 *(sec=sys,rw,insecure,anongid=100,anonuid=99,all_squash) Quote /root$ exportfs -v /mnt/user/Home Videos <world>(rw,async,wdelay,insecure,root_squash,all_squash,no_subtree_check,fsid=100,anonuid=99,anongid=100,sec=sys,rw,insecure,root_squash,all_squash) /mnt/user/Movies <world>(rw,async,wdelay,insecure,root_squash,all_squash,no_subtree_check,fsid=101,anonuid=99,anongid=100,sec=sys,rw,insecure,root_squash,all_squash) /mnt/user/Pictures <world>(rw,async,wdelay,insecure,root_squash,all_squash,no_subtree_check,fsid=102,anonuid=99,anongid=100,sec=sys,rw,insecure,root_squash,all_squash) /mnt/user/Plex <world>(rw,async,wdelay,insecure,root_squash,all_squash,no_subtree_check,fsid=103,anonuid=99,anongid=100,sec=sys,rw,insecure,root_squash,all_squash) /mnt/user/TV <world>(rw,async,wdelay,insecure,root_squash,all_squash,no_subtree_check,fsid=104,anonuid=99,anongid=100,sec=sys,rw,insecure,root_squash,all_squash) Quote Link to comment
ken-ji Posted November 20, 2017 Share Posted November 20, 2017 Linux is case sensitive. change the fstab in Mint to match the shares in unRAID. ie 192.168.1.9:/mnt/user/tv ->192.168.1.9:/mnt/user/TV Quote Link to comment
TechDaddy Posted November 20, 2017 Author Share Posted November 20, 2017 Wow... it's funny how I got case inconsistencies from the GUI and console. You guys were correct. Thank you! Quote Link to comment
TechDaddy Posted November 20, 2017 Author Share Posted November 20, 2017 Now... how do we tag this as solved? Quote Link to comment
wgstarks Posted November 20, 2017 Share Posted November 20, 2017 7 hours ago, TechDaddy said: Now... how do we tag this as solved? Just edit your first post. Quote Link to comment
Recommended Posts
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.