NFS vs VirtualBox Shared Folders: Performance vs Compatibility
26.5K reputation · 09 Feb 2020, 02:22 UTC
Goal
Ensure a stable synced folder for a Vagrant VM running on a Windows host, using NFS for performance while avoiding silent mount failures.
Constraints
- NFS provisioner on Windows may silently fail when the Windows NFS client or firewall is misconfigured.
- Vagrant documentation does not specify a fallback to VirtualBox shared folders when NFS fails.
- Mount attempts can precede full readiness of the host NFS service, causing intermittent failures during provisioning.
Unresolved Questions
- Does Vagrant automatically switch to VirtualBox shared folders if an NFS mount fails on a Windows host, or does it simply raise an error?
- What provisioning order or pre‑check steps can guarantee that the Windows NFS service is fully ready before Vagrant attempts to mount?
- Which diagnostic commands or log entries can reliably detect silent NFS mount failures during
vagrant uporvagrant reload?
1 answer
0 question comments
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.