Solved

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

Posted on 2010-09-16
14
859 Views
Last Modified: 2012-05-10
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
0
Comment
Question by:lolekbolek
  • 8
  • 6
14 Comments
 
LVL 28

Expert Comment

by:bgoering
Comment Utility
Ah - new question to do without losing changes. How much space is free on the other datastore? Is there anything on it?
0
 

Author Comment

by:lolekbolek
Comment Utility
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
 
LVL 28

Expert Comment

by:bgoering
Comment Utility
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
 
LVL 28

Accepted Solution

by:
bgoering earned 500 total points
Comment Utility
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
 

Author Comment

by:lolekbolek
Comment Utility
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
 
LVL 28

Expert Comment

by:bgoering
Comment Utility
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
 

Author Comment

by:lolekbolek
Comment Utility
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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 28

Expert Comment

by:bgoering
Comment Utility
LOL, yeah - I just posted as muchj in the new thread you opened :)
0
 

Author Comment

by:lolekbolek
Comment Utility
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
 
LVL 28

Expert Comment

by:bgoering
Comment Utility
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
 

Author Comment

by:lolekbolek
Comment Utility
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
 
LVL 28

Expert Comment

by:bgoering
Comment Utility
I just did and responded
0
 

Author Comment

by:lolekbolek
Comment Utility
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
 
LVL 28

Expert Comment

by:bgoering
Comment Utility
Thanks for the points
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

772 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

11 Experts available now in Live!

Get 1:1 Help Now