How to get rid of old snapshot files when there's no space in the datastore?

At one time, I had a few snapshots created and not deleted, which started to take up space on the server.  I can not delete them now.  I stopped the vm, created a snapshot and used "Delete All" in the Snapshot Manager.  The .vmx now points the virtual disk to the xxx-000004.vmdk file (before that it pointed to xxx-000002.vmdk - something has happened a few weeks ago and some initial snapshots disappeared back then from the Snapshot Manager window).

Now, there's only 2 Gb (see screenshot) left in this datastore and I need to commit everything back to the main file without loosing information accumulated since June.  Couple more pieces of info:

I only have remote access to ESXi 4, so couldn't easily install anything on it myself.
I have a second datastore that I don't really use or need right now.
I have a .ova template exported three days ago.

What can I do to free up space and yet not loose changes to the flat file?
Veeam-screenshot.png
lolekbolekAsked:
Who is Participating?
 
bgoeringConnect With a Mentor Commented:
Could have worded that better.

1. Delete datastore2 (configuration, storage, hilight datastore2, select delete)
2. Add the space as an extent to datastore1 (configuration, hilight datastore1, properties, increase follow wizard)

0
 
bgoeringCommented:
Ah - new question to do without losing changes. How much space is free on the other datastore? Is there anything on it?
0
 
lolekbolekAuthor Commented:
Aloha!  The other datastore (datastore2) has 220 GB empty out of 228.  And I can totally delete this datastore2 or do anything else that would help remove junk on datastore1 while retaining its current info.
Veeam-datastore-screenshot-1.png
Veeam-datastore-screenshot-2.png
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
bgoeringCommented:
Well, if you can delete it and add it as an additional extent to datastore1 you would then have room to commit your changes and delete the snapshots.

Good Luck
0
 
lolekbolekAuthor Commented:
Thank you.  When I try to delete datastore2 I have an error saying it's in use (see screenshot).
deleting-datastore-in-Configurat.png
0
 
bgoeringCommented:
If there are any vms on there they should be unregistered and deleted from disk before you can delete the datastore. If you need to save them SCP them off first. Looks like 7 or 8 GB is in use on the datastore.
0
 
lolekbolekAuthor Commented:
So, since both vSphere Client and FastSCP show no files in the datastore2, can I right click the Ubuntu VM that has been using this datastore and select either "Remove from Inventory" or "Delete from Disk"?

And then delete datastore2?
datastore-screenshot-2.png
remove-or-delete.png
0
 
bgoeringCommented:
LOL, yeah - I just posted as muchj in the new thread you opened :)
0
 
lolekbolekAuthor Commented:
Thank you, bgoering!  Worked like a charm.  On a side note, I tried to choose both yours and bestway's suggestions as accepted solutions using "multiple solutions", but I am not sure whether it went through since it still shows "Accept solution" for both of you (but no "Accept multiple solution anymore").  I just want to make sure you get the points!
0
 
bgoeringCommented:
no problem, I was on another thread where someone was having trouble assigning points to multiple users and I think a moderator fixed it - at least they said I would get my points in 4 days, and that it might be an EE issue. Go ahead and close it, then object to your own closing, and in text box ask for moderator help and say how you wish the points to be split.

Did you get the extent added to datastore1 and the snapshots all committed yet?

Good Luck
0
 
lolekbolekAuthor Commented:
Can't figure out how to close the question w/o accepting a solution first.  Will have to read up on that.

I've just opened a question for the extent advice, because I would like to do it properly and also would like then to try to commit all snapshots.  Could you look at this new question?
0
 
bgoeringCommented:
I just did and responded
0
 
lolekbolekAuthor Commented:
Thanks a lot!  And I split the points among two of you on this other question, submitted it and then objected as you describe.  The points should be assigned within 4 days.
0
 
bgoeringCommented:
Thanks for the points
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.