• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 741
  • Last Modified:

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

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
lolekbolek
Asked:
lolekbolek
  • 3
  • 2
1 Solution
 
bgoeringCommented:
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
 
lolekbolekAuthor Commented:
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
 
bgoeringCommented:
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
 
lolekbolekAuthor Commented:
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
 
bgoeringCommented:
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!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now