Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

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

Run

cat /etc/exports
exportfs -v

on the unRAID server. This will show us which and how your shares are exported

 

  • Author
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)

 

 

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

  • Author

Wow... it's funny how I got case inconsistencies from the GUI and console. You guys were correct. Thank you!

  • Author

Now... how do we tag this as solved?

7 hours ago, TechDaddy said:

Now... how do we tag this as solved?

Just edit your first post.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.