Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2010-09-16
5
Medium Priority
?
739 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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
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…

885 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