Reply
New Contributor
Posts: 3
Registered: ‎01-04-2015

Too many VMDX files on Quickstart VM

Hi,

 

I am using Cloudera QuickStart VM 5.2 on Windows 7 for learning purposes. My Cloudera VM folder has grown fron 5+ GB to 26GB within few days. I have downloaded only  a few MBs of data to run MapReduce examples. 

 

There are so many versions of the below files.

cloudera-quickstart-vm-5.2.0-0-vmware-s00X.VMDX (where x is 0-32). 

 

I want know why so many files created and also need help in cleaning up these files

 

Thanks

 

 

Highlighted
Cloudera Employee
Posts: 435
Registered: ‎07-12-2013

Re: Too many VMDX files on Quickstart VM

Those files are pieces of the virtual disk. They are broken up in to >2GB
pieces as the file systems on some hosts cannot store files larger than
that. Just deleting the files will result in a corrupt virtual disk and
lost data. Instead, I recommend you try removing any data from the VM that
you no longer need, and running these commands in the terminal of the
QuickStart VM:

vmware-toolbox-cmd disk wipe /
vmware-toolbox-cmd disk shrink /

New Contributor
Posts: 7
Registered: ‎03-13-2015

Re: Too many VMDX files on Quickstart VM

One thing I noticed that saved some space right from the beginning was this:

 

Immediately after expanding the Virtualbox VM these were only 2 files:

  1. cloudera-quickstart-vm-5.3.0-0-virtualbox.ovf   (14 Kb)
  2. cloudera-quickstart-vm-5.3.0-0-virtualbox-disk1.vmdk (3.8 Gb)

After importing the applicance in Virtualbox, there was an additional, large virtual disk file:

  • cloudera-quickstart-vm-5.3.0-0-virtualbox-disk1_1.vmdk  (6.6 Gb)

The original virtual disk file (#2) above never seemed to be used again.  So, I reasoned that it could be deleted.  I did delete it and had no problems.

 

Morgan