I have one droplet that is a NFS host and others that are clients. I’d like to create clients dynamically. However, the NFS host requires a list of clients. Is there any way to use NFS when the number of clients will change dynamically? It doesn’t seem realistic to modify the files on the host and restart NFS.
I’m wondering whether I could use a range of IP addresses and use a private network for the clients? Or do I just have to use some other storage solution?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hello,
Yes, in your
/etc/exports
file you should be able to specify an IP range, for example:Another thing that I could suggest is using the DigitalOcean block storage instead:
https://www.digitalocean.com/docs/volumes/
Hope that this helps! Regards, Bobby