Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VMware file confusion - snapshot deletion

Posted on 2013-12-04
10
Medium Priority
?
623 Views
Last Modified: 2013-12-04
Hello. I may have a very bad situation on my hands and need some hand-holding. I have a VMware ESXi 5.0 host machine running two production guests. They have been in place since August running fine. I found out this morning that snapshots had been made on each of these machines by a sysadmin and were never deleted. Now I have host disk space issues, however both guests are running OK.

The problem is that there are very large active delta files - 600Gish worth!

My host datastore only has 42G available space.

I am afraid that if I "Delete All Snapshots" it will:
1) Fail (disk space?)
2) Halt the server in a very busy production environment. (two shifts)

If doing this simply slows everything down, I can live with that. Even if it takes a week. But if it stops everything in its tracks, I need to have a different plan, like restoring a backup into a new guest or something along those lines.

Also, there are large files in the datastore that I believe are left over from a no-longer-needed guest machine, but I am afraid to delete anything based on file dates. I confirmed the files with today's date are the ones in the current running configuration.

Attached are some jpegs with more info:
Configuration overviewDatastore BrowserDelta files
If I free up space by deleting those old files from the datastore can I get away with committing the snapshots?

Please, please advise.
0
Comment
Question by:ChrisHelvey
  • 6
  • 4
10 Comments
 
LVL 124
ID: 39695916
Do not do anything, and we can work through your options!

1. If you delete it will fail, as you do not have enough storage space.

2. If you delete it will take many hours to complete.

Please also read my EE Article

HOW TO: VMware Snapshots :- Be Patient
0
 

Author Comment

by:ChrisHelvey
ID: 39695964
I'm reading... Thanks.
0
 
LVL 124
ID: 39695980
Chris

there are a few issues here, 600GB is a very large snapshot to merge, and will take many many hours, possibly days to complete.

as the VM is on, the snapshot will grow, if ALL the datastore space is filled, the VM will stop.

You do not have enough storage space to delete the snapshot.

Options:-

1. Use VMware vCenter Converter Standalone 5.5 to create a V2V, which will convert the VM off the server to a workstation of file share.

Once completed, you will then need to delete original VM, and use V2V to convert back.

Unless you can add more storage. e.g. iSCSI or NFS.
0
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!

 

Author Comment

by:ChrisHelvey
ID: 39696051
And when you say "days to complete," which I'm sure it will, this is with the Guest OFF, correct? (If I were to add storage from, say, NFS) If I can do that while the guest is ON, that could be an option.

I use drivesnapshot.exe to get image backups, so I do know how I can recover using those images if I need to. I'm now looking for the way to let the machine do the work. (Copying backup images takes a long time, etc...) As long as it's safe.

If I added physical storage, does the datastore with all the guests need to be moved to this presumably much larger disk, or is it "added" to the current datastore to be used by VMware?
0
 

Author Comment

by:ChrisHelvey
ID: 39696279
OK, I have an option opening up. One of the drives (a 500G provisioned drive of which 100G is actually used,) in the MSSQL server CAN be REMOVED from the guest machine, potentially freeing up over 500G. It is presently being used for backups of other things and that can be worked around. So:
1) Can I delete a drive from the configuration if a snapshot is active?
2) Considering that the machines are fairly small, could I go ahead and delete the snapshots then? (Still knowing it will take some time.)
3) Does this mean those guests must be turned off?

Please take a look at the delta files to see what I mean.

Thanks
0
 
LVL 124
ID: 39696287
Guest on or off, it will take many days, hours, minutes to complete performance will be terrible, and there is the danger, that it's that large it will fail!

depends on the speed of storage.

Once you start the operation it cannot be cancelled, if you do, it will corrupt the VM, you've got to have serious "BALLS OF STEEL" to complete a Snapshot Deletion whilst the VM is ON, yes it may keep service up, but service will be poor.

What is the VM?

If you can add additional storage we can clone out the existing VM with snapshot to new datastore, again this is going to take many hours to complete with VM off.

So what is the VM, what's the VM purpose?

Be careful making any changes to the VM, because all those changes will be reducing the storage space......
0
 
LVL 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 39696299
1. No
2. No
3. Yes, and you've got to wait for the merge.

Do you have vSphere vCenter Server ?

What is the server?

Best recommended action is:-

1. CLONE the disk, which will remove the snapshot to new datastore.
2. V2V the VM to the new datastore.

VM will have to be off.

Is it critical this VM remain on?
0
 

Author Comment

by:ChrisHelvey
ID: 39696400
Without that 500G drive, the delta disk is about 100G on one guest and 50G on the other.
0
 

Author Comment

by:ChrisHelvey
ID: 39696406
OK. I missed your last post. I'm going to use my image and recreate the guests this weekend.
0
 

Author Closing Comment

by:ChrisHelvey
ID: 39696409
Excellent help. Thanks.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

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

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

916 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