January 1, 20242 yr 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 January 1, 20242 yr by nixai Typo Fill > Feel
February 7, 20242 yr I would use fstab to automate process on Ubuntu computer https://help.ubuntu.com/community/Fstab
June 8, 20242 yr 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.
July 6, 20242 yr 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.
October 3, 20241 yr 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.
October 18, 20241 yr 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!
February 10, 20251 yr 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.