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.

Trouble with nfs or smb shares from ubuntu

Featured Replies

So I am new to Unraid. I have used ubuntu off and on, not often enough to keep me from doing alot of googling when setting ubuntu up.

 

I have the latest Unraid installed (v6) and have 4 2tb drives with several user shares. I am using SMB to access these shares successfully from several windows machines without issue.

 

I setup a ubuntu container in proxmox with the intention of running plex inside of it (I know I can run plex on unraid but the proxmox server is the "beefier" computer between the two so I would like plex to be installed there). Installation of plex went without issue. My problem is getting network shares mounted onto ubuntu. I have no issues connecting to the shares via a ubuntu desktop (VM) or a windows desktop (vm) on proxmox. Googling does not reveal any issues with connecting from a linux container in proxmox TO unraid (certainly issues the other way around).

 

I've tried both SMB and NFS to connect from the ubuntu container to unraid. Both give permissions denied even if specifying guest. I've tried multiple "guides" on this forum and on various other websites on how to set up nfs or smb shares on unraid and how to connect to that share via ubuntu (either smb or nfs).

 

The two user shares I want to access are named Movies and Tvshows (mounted at /mnt/user/Movies and /mnt/user/Tvshows). Both shares have SMB set to public, Movies has NFS set to public, Tvshows has NFS set to secure (added a new user in unraid after many failed attempts to connect and added that user to the Tvshows share, but had the same "permissions denied" response).

 

Output of exportfs (unedited by me, generated by unraid):

exportfs -v

/mnt/user/Movies

                <world>(rw,async,wdelay,insecure,root_squash,all_squash,no_subtree_check,fsid=101,anonuid=99,anongid=100,sec=sys,rw,root_squash,all_squash)

/mnt/user/Tvshows

                <world>(ro,async,wdelay,insecure,root_squash,all_squash,no_subtr ee_check,fsid=100,anonuid=99,anongid=100,sec=sys,ro,root_squash,all_squash)

 

On my ubuntu container I see this after running showmount -e nas.han0522.lan

Export list for nas:

/mnt/user/Tvshows *

/mnt/user/Movies *

 

(NOTE: nas.han0522.lan points to 192.168.1.229, the ip of my NAS box. I can ping the domain name without issue in the ubuntu container and I've tried using the IP alone for all of these commands with the same results)

 

I run the following command to mount the Movies NFS share:

mount nas.han0522.lan:/mnt/user/Movies /media/plex/movies

 

Result:

mount.nfs: access denied by server while mounting nas.han0522.lan:/mnt/user/Movies

 

Adding -v gives:

mount.nfs: timeout set for Sat Aug 27 11:20:03 2016

mount.nfs: trying text-based options 'vers=4,addr=192.168.1.229,clientaddr=192.168.1.233'

mount.nfs: mount(2): Permission denied

mount.nfs: access denied by server while mounting nas.han0522.lan:/mnt/user/Movies

 

Going the SMB route I confirmed the CIFS was installed and edited fstab to include the following:

 

//nas.han0522.lan/Movies /media/plex/movies auto guest

//nas.han0522.lan/Tvshows /media/plex/tv cifs nobody,uid=1000,iocharset=utf8 0 0

 

and the output of mount -a:

mount error(13): Permission denied

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Password for root@//nas/Tvshows:

mount error(13): Permission denied

Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

 

(tried both my root password and just pressing enter)

 

I've been searching and trying various small changes to the above to try to get any connection (after searching and searching).  At this point, I don't care what protocol I use, I just want to connect to these network shares from ubuntu. I fully acknowledge that there is likely a setting I have missed and that the solution may be a simple one. And I've searched on this forum and on google for any solution.

 

Does anyone have any ideas on what I am missing?

 

Chris

You can not use "root" to access shares on unRAID and need to create at least one user account. Next you can set the permissions for this user (by default public).

 

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.