Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
the var/nfs folder is empty how would you add a drive without actually copying the contents of the drive? some how make a hardlink in the NFS table? Also how could one include specific drives and exclude folders within them or include folders and exclude specific sub folders?
Great info!
By the way, when listing the options (ex. no_subtree_check) it looks like the underscores italicize part of the word, causing no_subtree_check -> nosubtreecheck
I created a basic Ubuntu droplet and followed the above steps but I’m getting this error : “Not starting NFS kernel daemon: no support in current kernel.” when i do sudo service nfs-kernel-server start . Can you suggest me a solution? Thanks.
hi, someone can tell me why the client directory must be nobody:nogroup ? There are many things i cannot do with that (web remote folder). Even if I change owner and group, on my client machine, it always mount the nfs directory as nobody:nogroup. Someone know how to change owner and group when the directory is auto mounting at reboot ?
For those who this line doesn’t work:
sudo mount 1.2.3.4:/home /mnt/nfs/home sudo mount 1.2.3.4:/var/nfs /mnt/nfs/var/nfs
You can modify it by adding this:
sudo mount -t nfs4 1.2.3.4:/home /mnt/nfs/home sudo mount -t nfs4 1.2.3.4:/var/nfs /mnt/nfs/var/nfs
Thanks for these easy instructions. Now that I have this working, I now need to make sure that the service is available after each restart of the server facilitating NFS. Also, I’m interested in any security related info that will ensure that only the desired clients can access and modify this NFS share.
Very useful tutorial. Worked for me.
I only had challenges mounting the shares with r/w permissions for non-root users on the client machines.
Also, unlike things like Samba and FTP, NFS doesn’t have any authentication schemes. Meaning anyone can remotely mount shares without having the right access rights. Isn’t this a problem?
These are great tutorials, however I still cannot get the nfs setup between my two Ubuntu 14.04 machines. This is about the 3rd tutorial I’ve used and it seems really straightforward. After I got past the “access denied by service” problem, I’m now experiencing what a couple of others have said, when I give the mount commands “mount 12.13.14.15:/var/nfs /mnt/nfs/var/nfs” it doesn’t shoot me an error but just hangs. One of the other tutorial suggested setting up using bind and I never could get that to work. I started this tutorial with 2 brand new installations of 14.04 with all updates, etc. I’m not super techie but I did install my first version of Slackware in 1993, and a few weird unices prior. It must be something obvious but I’m not seeing it.
Thank you for any additional help.
Photon
I want to add authentication to the access of the shared directory what should i do? and which steps i should follow