Solved

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

Posted on 2010-09-16
14
861 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
ID: 33695776
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
ID: 33695950
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
ID: 33696047
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
ID: 33696080
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
ID: 33696134
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
ID: 33697480
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
ID: 33697512
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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 28

Expert Comment

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

Author Comment

by:lolekbolek
ID: 33697546
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
ID: 33697589
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
ID: 33697617
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
ID: 33697649
I just did and responded
0
 

Author Comment

by:lolekbolek
ID: 33697675
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
ID: 33697705
Thanks for the points
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
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 tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

911 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

25 Experts available now in Live!

Get 1:1 Help Now