Thanks. This was simple. I haven't used NFS in 15 years on my home network as I moved from Windows and Linux to Mac, then started using online storage. I replaced with ageing macs with a Linux laptop and desktop. I realised that I didn't need SMB then I found your tutorial.. I appreciate the written guide that accompanies the videos. So frequently, I've searched for help to relearn what I used to use Linux for and, I get a video that makes me think ten lines of text might be more practical. The video is great for a (re) introduction and documentation is good as a reference backup.
Good Morning, Jay.... a long time subscriber....So if I want to enable nfs shares for my home network, where do I set the permissions to allow access for non admin users? You mentioned in the video that permissions were not important yet, but afaik you never mentioned permissions again. Thanks in advance. Jim Smith Sr
I have a dir mounted works file but inside that dir I mount bind a dir from an other disk in that shared dir.. it shows up but is empty inside on my client computer. Someone any idea why, and how I can I fix this?
According to the article linked below, symbolic links can be used with NFS, although they take a fair amount of configuration and planning. docstore.mik.ua/orelly/networking_2ndEd/nfs/ch06_04.htm Additionally, this post from Stack Exchange has some useful information regarding symlinks and NFS: unix.stackexchange.com/questions/135048/how-to-follow-symlinks-in-nfs
As it stands now im creating a samba share on my nas and mounting it to a dir in my /mnt folder. Then using rsync to copy all files and folders to that link directory in the /mnt folder. I create a cron job to intermittent backup at midnight every night
autofs is not working correctly for me. When I go to the nfs folder it shows the folder is there but when I list what is in that folder it says 'no such file or directory.' df -h does not show the folder. But I have no trouble mounting the folder without using autofs and listing its contents.
So I can use autofs to mount user home directories? But how do I control who can mount an nfs share for a home directory on a machine that is allowed to mount any share from the server hosting those home directories?
In short, yes. Although Android makes use of the Linux kernel (and is arguably a Linus distro itself), this seems to be easier done on iOS. Connecting to an NFS server/mount seems to require you to recompile the kernel on Android so your results may vary and require some in-depth troubleshooting. Here are some guides to point you in the right direction: - NFS Mounting for Android: android.stackexchange.com/questions/200867/how-to-mount-nfs-on-android-with-correct-permissions && androidforums.com/threads/download-files-from-linux-nfs-share-to-android-device.1307711/#post-7894369 - NFS Mounting iOS: support.apple.com/guide/iphone/connect-external-devices-or-servers-iph8d8f0f1a0/ios
It might just be me, but I've had problems on the client when the nfs server goes offline for some reason. I am referring to RHEL 7 and Fedora. In the case of RHEL, it was at work and the blighters needed to be rebooted after hours.
Followed and got it all to work accept when I list just parent directory: ls -l /mnt/nfs then: df -h it dosen't show mounts but it still mounts if I say: ls -l /mnt/nfs/backup
Hello, I really liked your tutorial. I am using openSUSE Leap 15.4 and I have a problem with the firewall. What ports must be open on the server and client side. Thank you very much for your reply and I wish you all the best.
Hi there - If you received a cancellation email when you signed up for an account, we'd be happy to take another look if you want to reach us via email or phone. You can reach us via email at support@linode.com to request a review or the following numbers: U.S. 855-454-6633 Global +1-609-380-7100 You'll hear back from us if we overturn our initial decision. You can also find out what steps to take after receiving a sign-up cancellation email here: www.linode.com/community/questions/22948/my-signup-was-flagged-as-fraudulent-behavior
Thanks. This was simple. I haven't used NFS in 15 years on my home network as I moved from Windows and Linux to Mac, then started using online storage. I replaced with ageing macs with a Linux laptop and desktop. I realised that I didn't need SMB then I found your tutorial..
I appreciate the written guide that accompanies the videos. So frequently, I've searched for help to relearn what I used to use Linux for and, I get a video that makes me think ten lines of text might be more practical. The video is great for a (re) introduction and documentation is good as a reference backup.
Brilliant, extremely thorough and very clear - than you!
Dude, you saved my life, I was struggling so hard before I saw this video, great tutorial!
I was about to lose myself until I saw your video. please keep uploading videos
Good Morning, Jay.... a long time subscriber....So if I want to enable nfs shares for my home network, where do I set the permissions to allow access for non admin users? You mentioned in the video that permissions were not important yet, but afaik you never mentioned permissions again. Thanks in advance. Jim Smith Sr
Hello, great video! Could you do a tutorial on how to secure an NFS server?
Best regards
Very nice & easy to follow. Had it set up in now time.
My own damn fault for wasting my time with SMB, this is so much better
Is there a way to secure the NFS share via authentication (username/password)? Is there a way to mount the NFS share via the /etc/fstab file?
well explained ! thank you !!
i do every step you do, but I do mine on my rhel 9 server since I am prepping for the RHCSA, and i keep getting "clnt_create: RPC: Unable to receive"
I have a dir mounted works file but inside that dir I mount bind a dir from an other disk in that shared dir.. it shows up but is empty inside on my client computer. Someone any idea why, and how I can I fix this?
Is it possible to put a symbolic link in the server folder and reach the content of it from client side? Thanks
According to the article linked below, symbolic links can be used with NFS, although they take a fair amount of configuration and planning.
docstore.mik.ua/orelly/networking_2ndEd/nfs/ch06_04.htm
Additionally, this post from Stack Exchange has some useful information regarding symlinks and NFS:
unix.stackexchange.com/questions/135048/how-to-follow-symlinks-in-nfs
@@AkamaiDeveloper Thanks a lot🙋♂
Ok so would you use this setup with rync then? I need to write backup of several folders to my qnap nas. Very large in content. 3-5 tb
As it stands now im creating a samba share on my nas and mounting it to a dir in my /mnt folder. Then using rsync to copy all files and folders to that link directory in the /mnt folder. I create a cron job to intermittent backup at midnight every night
Hi, isnt the no_subtree_check option _less secure_ because it allows the parent and child directories to be mounted?
autofs is not working correctly for me. When I go to the nfs folder it shows the folder is there but when I list what is in that folder it says 'no such file or directory.'
df -h does not show the folder.
But I have no trouble mounting the folder without using autofs and listing its contents.
very great video,but i want to ask a question ,how i can add function of support nfs v2 in ubuntu 22.04,thanks
mine has problem like this "mount.nfs: access denied by server while mounting ..."
Thank you for this amazing content
This is a great video but the systemctl still shows as (exited) even after giving out the file share....is that normal?
do we have to use "no_subtree_check" or can I just do "sync"?
There is no nfs-kernel-server package in Arch...I don't get it... :/
yay -S nfs-utils
great tutorial!
Great content. Thank you
So I can use autofs to mount user home directories? But how do I control who can mount an nfs share for a home directory on a machine that is allowed to mount any share from the server hosting those home directories?
Stale file handle still happens. How can this be fixed, it's annoying to say the least.
Great tutorial, but you could say its for a specific dsitribution (I think its debian for this vid).
Sir, can we access NFS shares from Android and IOS devices? If yes, how? Thanks in advance.
In short, yes. Although Android makes use of the Linux kernel (and is arguably a Linus distro itself), this seems to be easier done on iOS. Connecting to an NFS server/mount seems to require you to recompile the kernel on Android so your results may vary and require some in-depth troubleshooting. Here are some guides to point you in the right direction:
- NFS Mounting for Android: android.stackexchange.com/questions/200867/how-to-mount-nfs-on-android-with-correct-permissions && androidforums.com/threads/download-files-from-linux-nfs-share-to-android-device.1307711/#post-7894369
- NFS Mounting iOS: support.apple.com/guide/iphone/connect-external-devices-or-servers-iph8d8f0f1a0/ios
It might just be me, but I've had problems on the client when the nfs server goes offline for some reason.
I am referring to RHEL 7 and Fedora.
In the case of RHEL, it was at work and the blighters needed to be rebooted after hours.
Awesome
Followed and got it all to work accept when I list just parent directory: ls -l /mnt/nfs
then: df -h
it dosen't show mounts
but it still mounts if I say: ls -l /mnt/nfs/backup
Great video!
I have a query though, can we specify the NFS size on the server?
Hello, I really liked your tutorial. I am using openSUSE Leap 15.4 and I have a problem with the firewall. What ports must be open on the server and client side. Thank you very much for your reply and I wish you all the best.
Kerberos?
Muchas Gracias!
Is it possible to enable compression on a nfs share to save bandwith?
I do wish we didn't have to manually type out the long stuff.
Nice. Thx.
What is solution of linode signup cancellation
Hi there - If you received a cancellation email when you signed up for an account, we'd be happy to take another look if you want to reach us via email or phone. You can reach us via email at support@linode.com to request a review or the following numbers:
U.S. 855-454-6633
Global +1-609-380-7100
You'll hear back from us if we overturn our initial decision. You can also find out what steps to take after receiving a sign-up cancellation email here:
www.linode.com/community/questions/22948/my-signup-was-flagged-as-fraudulent-behavior
Thank you
Take it to the next step and configure krb5
Thanks
What about security? this seems like anything on the network could access this
Um, this is not ripping off @LearnLinuxTV?