SOLVED - unraid fstab "not exported" "access denied"


Recommended Posts

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 exported
Nov 18 19:23:46 Tower rpc.mountd[3477]: refused mount request from 192.168.1.11 for /mnt/user/movies (/): not exported
Nov 18 19:23:46 Tower rpc.mountd[3477]: refused mount request from 192.168.1.11 for /mnt/user/pictures (/): not exported
Nov 18 19:23:46 Tower rpc.mountd[3477]: refused mount request from 192.168.1.11 for /mnt/user/home videos (/): not exported

 

Edited by TechDaddy
Solved
Link to comment
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)

 

 

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.