Report this

What is the reason for this report?

NFS not working with block storage

Posted on May 26, 2017

I’m running a setup for my application with 3 app servers, one of which has a block storage volume mounted to it. For my application to run properly, I had to set up NFS and open that volume to the other 2 droplets. I followed one of Digital Oceam tutorials on how to set up NFS, and everything worked fine for about 1 day. After that, whenever I try to do anything related to mounted drive on the “client” droplet, the command just hangs. For example, if I just do “df -h” to see all the drives, including mounted ones, the command just hangs.

Thanks in advance for any suggestions!



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!

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.

Hi @CodeElves

By default NFS does very little logging, so you might need to enable extra logging to see why it’s hanging. https://help.ubuntu.com/community/NFSv4Howto#Troubleshooting https://www.serverstack.com/blog/2012/11/21/debugging-nfs-file-access-on-server-and-client-side/

The developer cloud

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

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.