Solved

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

Posted on 2010-09-16
5
734 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
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…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

734 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