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.

Mounting an unraid share in Ubuntu linux

Featured Replies

Hi

 

I looked all over the internet to find a simple way to mount an unraid NFS share in linux. I was suprised that i could not find a simple guide and had to find mine own solution from information snippets here and there. If there is a better guide that i have missed, then i ask for an apology for poluting the internet with unneeded information.

Unraid Version: 6.12.3

Ubuntu desktop 20.04.6 LTS

 

In unraid

Enable NFS (Settings > NFS)

Add a share (Shares > Add share) [lets call the share "unraidshare1"]

Share settings, NFS Security Settings

---Export: Yes

---Security: Private [You can choose Public, in that case it is not nescessery to enter Rule]

---Rule: 192.168.1.33(sec=sys,rw) [the ip number is the ip of your ubuntu desktop, here just an example]

 

On your Ubuntu dekstop

Install NFS if you don't have it allready, in terminal:

sudo apt update

sudo apt install nfs-common

 

Create a folder where you want to mount the unraid share for example

sudo mkdir  -p /media/unraidshare1

and then mount the unraid share

sudo mount -t nfs 192.168.1.30:/mnt/user/unraidshare1 /media/unraidshare1

[here the ip number is the ip of the unraid server and, "/mnt/user/unraidshare1" is the real share directory in unraid]

to unmount use 

sudo umount 192.168.1.30:/mnt/user/unraidshare1

 

I hope this guide will help some people with the same problem, i felt allmost desperate before i got the pieces together.

Feel free to correct me or ask me questions as long as they are not too complicated as i am just a linux beginner.

Edited by nixai
Typo Fill > Feel

  • 1 month later...
  • 2 months later...

Thanks for sharing this. Working well :)

  • 1 month later...
This was very helpful - thanks. I recently installed linux mint on my home pc as a dual-boot with windows 11, and was able to use this to access my movies share on unraid - unfortunately it disappears on reboot. But what is really frustrating is I cannot get it to work for my TV shows share or my kids share. Even though I change absolutely nothing except the share location (unraid ip:/mnt/user/TV shows) and the linux folder location (/media/TV shows), i get the error:

mount: bad usage
Try 'mount --help' for more information.

I am totally new to linux, as well as unraid, so trying to figure this out on my own is very challenging.
  • 4 weeks later...
  • Author

Hi Woodcogger, i am happy that my little guide helped you.

In my use case i use the nas only sometimes for archiving so I shut id down to save on electricity and mount again every time I need it. If you want to mount permanently then explore the fstab solution that TTE77 writes about.

 

I thought about you other problem and I think the problem lies with the space in path "TV shows" You must use "" for path like this ip:"/mnt/user/TV shows" if you have spaces or change the folder names to TVshows and KidsShare. Be careful of the upper-lower case. Linux is  much more strict about it than windows.

Try this and tell me if it works.

  • 2 months later...
On 1/1/2024 at 8:02 AM, nixai said:

Hi

 

I looked all over the internet to find a simple way to mount an unraid NFS share in linux. I was suprised that i could not find a simple guide and had to find mine own solution from information snippets here and there. If there is a better guide that i have missed, then i ask for an apology for poluting the internet with unneeded information.

Unraid Version: 6.12.3

Ubuntu desktop 20.04.6 LTS

 

In unraid

Enable NFS (Settings > NFS)

Add a share (Shares > Add share) [lets call the share "unraidshare1"]

Share settings, NFS Security Settings

---Export: Yes

---Security: Private [You can choose Public, in that case it is not nescessery to enter Rule]

---Rule: 192.168.1.33(sec=sys,rw) [the ip number is the ip of your ubuntu desktop, here just an example]

 

On your Ubuntu dekstop

Install NFS if you don't have it allready, in terminal:

sudo apt update

sudo apt install nfs-common

 

Create a folder where you want to mount the unraid share for example

sudo mkdir  -p /media/unraidshare1

and then mount the unraid share

sudo mount -t nfs 192.168.1.30:/mnt/user/unraidshare1 /media/unraidshare1

[here the ip number is the ip of the unraid server and, "/mnt/user/unraidshare1" is the real share directory in unraid]

to unmount use 

sudo umount 192.168.1.30:/mnt/user/unraidshare1

 

I hope this guide will help some people with the same problem, i felt allmost desperate before i got the pieces together.

Feel free to correct me or ask me questions as long as they are not too complicated as i am just a linux beginner.

this is an awesome guide I was able to mount and access a nfs share in my unraid and transfer files from my ubuntu 22.04LTS to the unraid , now the thing is I already have smb shares which I usually access from windows with no problem, I would like if possible to be able to mount and access those existing samba shares not just the newly created nfs folder. is it possible? thank you.

  • 3 weeks later...
  • Author

Hi ortegacomp!

 

I am glad that i could help you!

You have probably already solved the problem with the mounting of smb shares in Linux.

I have no smb shares to mount but i would follow the following guide if i had to.

https://www.linode.com/docs/guides/linux-mount-smb-share/

 

Good luck!

  • 3 months later...

Try using the mount -t cifs command to connect the Unraid share to Ubuntu.

27 minutes ago, Fisittests said:

Try using the mount -t cifs command to connect the Unraid share to Ubuntu.

What was the result?

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...

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.