Solved

How to extend a datastore so I can reuse the space later?

Posted on 2010-09-16
5
730 Views
Last Modified: 2012-05-10
I have deleted one of two 250 GB datastores in order to expand datastore1 that ran out of space.  I want to delete all snapshots on it and then, when I have a clean flat file, I might need some of this space that I am going to use, so I can create another virtual machine on it.  I went through two steps of "Increase Datastore Capacity", but now I wonder what to choose on this screen - Use "Free space" or "Use all available partitions".

What would you suggest?
extent-device-1.png
extent-device-2.png
0
Comment
Question by:lolekbolek
  • 3
  • 2
5 Comments
 
LVL 28

Accepted Solution

by:
bgoering earned 500 total points
ID: 33697648
I would use all available partitions - looks like it might have an old boot partition on there that you likely won't need for anything else.
0
 

Author Comment

by:lolekbolek
ID: 33697655
Thank you!  If I choose "Maximize capacity" on the next tab - will I be able to shrink this new vm/datastore later on to create another vm on it?
0
 
LVL 28

Expert Comment

by:bgoering
ID: 33697690
I don't know if you can shrink it (haven't ever actually tried that - I am always needing more space), but you can certainly create more VMs on the datastore - just try to keep a bit (I try for 10-15%) of free space so you don't have problems in the future like we are fighting now. Also remember VMware creates swap files equal to memory size when a VM is powered on, so for example if you have two powered off VMs, 2GB RAM each, and only 3GB free on the datastore - you will only be able to power on one of your VMs, after that there will be 1GB free and not enough room to create a swap file for the other. I guess the point is that besides snapshot growth -- you also need to allow for swap file allocation. Another good rule of thumb is don't let your snapshots hang around too long - they are not backups.....

Good Luck
0
 

Author Comment

by:lolekbolek
ID: 33697737
Thanks a lot, bgoering!  I have a datastore full of space now!  Should I now do a snapshot (w/o starting the vm?) and then "Delete all" right away?
0
 
LVL 28

Expert Comment

by:bgoering
ID: 33697784
Sounds good - hopefully it will run to completion this time. Be aware it might take a long time to complete.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now