Vagrant Home and Vagrant Dot File On NTFS Partition Mounted In A Linux System
I use Vagrant together with VirtualBox on an Ubuntu based Linux system. Because my internal SSD drive isn't so large, I outsource the location of VirtualBox's VMs to an external HDD drive with a NTFS partition. Additionally, I set Vagrant's environment variables
VAGRANT_HOME so, that the directories
.vagrant.d are also on the external HDD drive. External HDD drive with NTFS partition are auto-mounted with the following mount options on an Ubuntu based Linux system.
For typical Vagrant commands like
vagrant up, vagrant destroy, vagrant halt these mount options are sufficient. After using Vagrant for a while, I wanted to install some Vagrant plugins. The command for plugin installation in Vagrant is
vagrant plugin install <plugin name>. The plugin installation failed with following error message.
1An error occurred while installing nokogiri (184.108.40.206), and Bundler cannot continue. 2Make sure that gem install nokogiri -v '220.127.116.11' succeeds before bundling. 3ERROR vagrant: Bundler, the underlying system Vagrant uses to install plugins, 4reported an error. The error is shown below. These errors are usually 5caused by misconfigured plugin installations or transient network 6issues.
A hint on the Vagrant project's issue tracker brings me to try out several mount options for the NTFS partition. Finally, the NTFS partition has to be mounted with following mount option and then the plugin installation is successful.