Jump to content
SpencerJ

Deploying an Unraid NFS Server

11 posts in this topic Last Reply

Recommended Posts

Posted (edited)

This Guest Blog by @T0rqueWr3nch is a brief guide on when and how to set up an NFS server on Unraid. It also includes more advanced configuration instructions on how to deploy an Unraid NFS server behind a firewall with static ports. 

 

Are you running an NFS server on Unraid? If so, what are your specific use cases for doing so?

Edited by SpencerJ

Share this post


Link to post

In my case it's to give my Linux vm access to my unraid storage for steam.

Share this post


Link to post

I'm using a LibreELEC VM and had issues with the Watchdog addon over SMB. Changing to NFS solved it, and while it might be placebo it also feels more responsive now. Looking forward to the nest article as I'm still using SMB to access shares from my laptop even though I'm running linux.

Share this post


Link to post
15 hours ago, dodgypast said:

In my case it's to give my Linux vm access to my unraid storage for steam.

That's something I'd be interested in hearing more about. So are you using unRAID to install your Steam games?

Share this post


Link to post
Posted (edited)
15 hours ago, T0rqueWr3nch said:

That's something I'd be interested in hearing more about. So are you using unRAID to install your Steam games?

I run Endeavour OS as a VM on top of unRAID. Currently I'm mounting an unRAID nfs share with the correct permissions so that ownership of the folders steam creates goes to my local user on Endeavour OS. ( Endeavour OS is an Arch based distro )

 

I posted about it here:

 

Edited by dodgypast

Share this post


Link to post
Posted (edited)

I tried VirtFS/9P first as it seemed simpler, but the performance was unbelievably awful.

 

SMB was a problem due to execute permissions.

 

So NFS was the only option that worked.

Edited by dodgypast

Share this post


Link to post
On 5/30/2020 at 2:05 AM, dodgypast said:

I tried VirtFS/9P first as it seemed simpler, but the performance was unbelievably awful.

This ^^^, and the need for granular permissions is why I use NFS over Virt and SMB.

 

I can't wait for the follow-up blog post where the discussion turns to the 'stale file handle' issue seen on some VMs. For my most active VM it seems to go in cycles. It will run without issue for weeks and then sporadically it will have a day where it happens repeatedly. So far I haven't been able to pin down what is happening differently on those days.

 

Share this post


Link to post
On 6/5/2020 at 2:20 PM, draeh said:

This ^^^, and the need for granular permissions is why I use NFS over Virt and SMB.

 

I can't wait for the follow-up blog post where the discussion turns to the 'stale file handle' issue seen on some VMs. For my most active VM it seems to go in cycles. It will run without issue for weeks and then sporadically it will have a day where it happens repeatedly. So far I haven't been able to pin down what is happening differently on those days.

 

I get stale file handles just about daily. It's a bit of a pain but not the end of the world for my usage. 

I use it as a development server so I just reboot or remount at the start of each day to keep it fresh. 

 

I've tried a handful of things but nothing has helped.

Share this post


Link to post
Posted (edited)
Quote

"In the next article, I will show you some best practices for mounting an NFS share on Ubuntu (including how to avoid the dreaded NFS "stale file handle" error and how to have your NFS client fix itself should it occur). Stay tuned!"

 

Been almost a month (next week), sure would be nice to get that 'next article'.... please.

Edited by draeh

Share this post


Link to post
23 hours ago, draeh said:

 

Been almost a month (next week), sure would be nice to get that 'next article'.... please.

Would also love to see this article as it would fix the only remaining issues I'm having! 

Share this post


Link to post

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.