Monday, 5 October 2015

Virtualbox NFS troubles with freezing box - I have not solved this yet

I use vagrant for developement environment

For data sharing between host and box (synced folder) the best option seems to be NFS (regarding the performance).

My setup:
  Host: Fedora 22 / Ubuntu 14.10
  Box: CentOS release 6.7

Unfortunately even though NFS gives the best performance, I have troubles when reading or writing big files from/into the directory which is mounted by NFS protocol.
The vagrant box simply stops responding sometimes - got fronzen - and I have to restart it


After some digging I improved the freezing a little bit by switching the network adapter type of Virtualbox machine to "virtio-net" - Paravirtualized network.

After switching the virtualbox to the paravirtualized network adapter type the freezing stopped for smaller files.

Unfortunately it helped only for a file about 500MB, when I tried to copy bigger file (> 4GB), the box frozen again :-/


If you got any idea how to solve this, I would love to hear it in the comments, thanks ;)

No comments:

Post a Comment