I'm having an issue where NFS hangs after my laptop resumes after suspended from closing the lid.
The scenario is a fresh Debian Jessie install, which is host to a Debian 7.4 VM using VirtualBox, which is managed by Vagrant.
I'm hoping to get some advice on debugging this. I realize the Vagrant/VirtualBox complicates things, but I have had a similar setup working without problems in with a Ubuntu 14.04 host, and so far it feels like this is a related to the Debian host.
Steps to reproduce:
With a Vagrantfile like this:
Vagrant.configure(2) do |config|
config.vm.box = "chef/debian-7.4"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.synced_folder "test", "/mnt/test", nfs: true
end
ssh into guest:
Change directory shared directory:
vagrant@packer-debian-7:~$ cd /mnt/test/
vagrant@packer-debian-7:/mnt/test$
Suspend and resume by closing laptop lid.
Attempt a directory listing in shared directory from the guest.
vagrant@packer-debian-7:/mnt/test$ ls -al
... and the command will hang.
When I look at the process list, I see that that 'ls' process is stuck in D/uninterruptible sleep.
-Ryan
--
“There’s nothing sadder to me than associations held together by nothing but the glue of postage stamps" - East of Eden