Jump to content

Can't mount NFS share


jeffmackinnon

Recommended Posts

Posted

Hey there everyone.

I am testing out Unraid as a replacement for my scattered servers. The file sharing, apps, etc is working perfectly, but now for the backup system.

 

My old backup system, which I'm replicating on Unraid was an Ubuntu server that mounts the various shares on a timetable and rsyncs back and forth as needed. I have 4 days left in my trial and this is the error I keep getting, regardless of the settings of the share:

mount.nfs: access denied by server while mounting treebeard:/fog

mount.nfs: access denied by server while mounting myserver:/myshare

I have tried all the tricks I know of to track this down, but it isn't an issue I have run into in the past.

 

Any help to get me to the final stage of Unraid awesomeness would be appreciated.

 

And adding some information, here is the note in the Unraid log file when I do try to mount:

Feb  1 14:11:35 myserver rpc.mountd[29950]: refused mount request from xxx.xxx.xxx.101 for /myshare (/): not exported

 

Posted

unRAID NFS shares are all under /mnt/user

So if you had a fog share you'd need to use unraid:/mnt/user/fog to be able to mount it.

 

 As an aside and a pro tip use

exportfs -v

in the unRAID terminal to see the NFS exported locations as well as their NFS level permissions.

 

And you should read this post for details on the NFS permissions

 

Posted
2 hours ago, ken-ji said:

unRAID NFS shares are all under /mnt/user

 

AWESOME!!!!!

 

So this solves it, but where in the manual is this written down? I couldn't find anything about it, but maybe my google-foo isn't as good as it once was.

Posted

Not to sound condescending, but this info is kinda expected. :D

unRAID clearly documents that user shares are all under /mnt/user which implies that any user share exported over NFS should end up with the /mnt/user/ path

Additionally, most people with NFS experience would have remembered to check the resulting /etc/exports file or run exportfs -v themselves to check what the server is exporting.

 

Archived

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

×
×
  • Create New...