title: How Much Hard Drive Space is Available to Vagrant Up?
body: <p><strong>Q1:</strong> How much hard drive space is available during <em>vagrant up</em>?</p>
  
  <p><strong>Q2:</strong> Can I increase the disk space available when running <em>vagrant up</em>? </p>
  
  <p><strong>Background:</strong> I'm working on a <em>Vagrantfile</em> that creates a Cent OS 7 VM 
   to use in Hyper-V. When configuring the VM, I use the <em>vagrant-disksize</em> plugin to expand the size of the virtual hard drive, I clone a git repo containing a node project, and try to run <em>npm install</em>. I am trying to get the node project ready for me to work with when the VM is create. I have plenty of physical disk space and <em>vagrant-disksize</em> does successfully increase my maximum virtual disk space (verified using Hyper-V Manager)</p>
  
  <p><strong>The Issue:</strong> When running <em>npm install</em> on the node project I have cloned, I encounter this error `</p>
  
  <pre><code>my-vm: npm install
  ...
  my-vm:  ENOTSUP: operation not supported on socket, symlink '../typescript/bin/tsc' -&gt; '/vagrant/my-project/client/node_modules/@angular-devkit/build-optimizer/node_modules/.bin/tsc'
  
  my-vm: npm
  
  my-vm: ERR!
  
  my-vm:  nospc
  
  my-vm:  There appears to be insufficient space on your system to finish.
  
  my-vm: npm
  
  my-vm: 
  
  my-vm: ERR!
  
  my-vm: 
  
  my-vm: nospc
  
  my-vm:  Clear up some disk space and try again.
  
  my-vm: npm
  
  my-vm: verb
  
  my-vm:  exit
  
  my-vm:  [ -95, true ]
  
  ...
  </code></pre>
  
  <p><strong>Vagrantfile:</strong></p>
  
  <pre><code>Vagrant.configure("2") do |config| 
  
    # Setting some configs
    …
  
    # installs the Vagrant DiskSize plugin
    system "vagrant plugin install ./vagrant-disksize-0.1.2.gem --plugin-clean-sources"
  
    config.vm.define vm_name = "my-vm"
    config.vm.box = "centosbuilder"
    config.disksize.size = "40GB"
  
    …
  
    config.vm.provision :shell, :inline =&gt; \
    "
    # Get sudo privileges
    sudo su
  
    # yum install Node.js
    …
  
    # Install global node packages
    …
  
    # Clone GUI repo
    sudo git clone ssh://git@my-server/my-project.git
  
    # Setup the project
    sudo chmod -R 700 my-project
    cd my-project
    sudo npm install
    "
  end
  </code></pre>