Solved

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

Posted on 2010-09-16
5
729 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Suggested Solutions

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

758 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

14 Experts available now in Live!

Get 1:1 Help Now