Solved

VMware file confusion - snapshot deletion

Posted on 2013-12-04
10
602 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 118
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 118
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
 

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
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

 
LVL 118
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 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 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

IT, Stop Being Called Into Every Meeting

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

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

746 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

14 Experts available now in Live!

Get 1:1 Help Now