# Vagrant, VMWare Workstation 16 Pro, Unable to constraint allocated disk space

**URL:** <https://discuss.hashicorp.com/t/vagrant-vmware-workstation-16-pro-unable-to-constraint-allocated-disk-space/19454>\
**Category:** Vagrant\
**Created:** [January 6, 2021, 10:11pm UTC](https://discuss.hashicorp.com/t/vagrant-vmware-workstation-16-pro-unable-to-constraint-allocated-disk-space/19454 "2021-01-06T22:11:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sohail.shaikh](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/sohail.shaikh/32/16256_2.png) [@sohail.shaikh](https://discuss.hashicorp.com/u/sohail.shaikh)\
**Post date:** [January 6, 2021, 10:11pm UTC](https://discuss.hashicorp.com/t/vagrant-vmware-workstation-16-pro-unable-to-constraint-allocated-disk-space/19454/1 "2021-01-06T22:11:46Z")

</div>

I have been using Vagrant with first VirtualBox and then VMWare plugin for sometime and getting a hang of it. However, I noticed that the primary disk Vagrant allocates using the entire 128GB disk unlike when I create VM from VMWare Workstation GUI where I typically set to only 20GB for now (non-production/research env.). I have googled and tried everything that I saw regarding disk size allocation, etc. but no avail. It is quite frustrating and also noticed vmware and virtualbox have different options/behavior. I have tried the following which did not work.

node.vm.disk :disk, name: “os”, size: "20GB, primary: true

Also, I cannot create a another storage device like /dev/sda which I was able to using workstation and virtualbox user interfaces and it shows up inside the VM using Vagrantfile. Is this something a limitation of Vagrant or am I dont something wrong in the Vagrant file. I was doing the second device for GlusterFS storage to keep it separate from OS disk.

Thanks for any help you can provide.

---

<div class="post-metadata">

**Author:** ![sohail.shaikh](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/sohail.shaikh/32/16256_2.png) [@sohail.shaikh](https://discuss.hashicorp.com/u/sohail.shaikh)\
**Post date:** [January 6, 2021, 10:12pm UTC](https://discuss.hashicorp.com/t/vagrant-vmware-workstation-16-pro-unable-to-constraint-allocated-disk-space/19454/2 "2021-01-06T22:12:29Z")

</div>

BTW, I added the flag

ENV[‘VAGRANT\_EXPERIMENTAL’] = ‘disks’

---

<div class="post-metadata">

**Author:** ![soapy1](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/soapy1/32/5509_2.png) [@soapy1](https://discuss.hashicorp.com/u/soapy1)\
**Post date:** [January 8, 2021, 4:06pm UTC](https://discuss.hashicorp.com/t/vagrant-vmware-workstation-16-pro-unable-to-constraint-allocated-disk-space/19454/3 "2021-01-08T16:06:13Z")

</div>

Hmmm, could you try updating your version of the vmware plugin.

```auto
vagrant plugin update vagrant-vmware-desktop

```
