Solved

VMware file confusion - snapshot deletion

Posted on 2013-12-04
10
610 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 119
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 119
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
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 

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 119
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 119

Accepted Solution

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

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

Title # Comments Views Activity
VCAP6-DCV Exam 11 115
how to mount a NTFS USB drive to ESX 5.5 2 80
cannot remove vmnic 7 31
Remote access to ESXi 6 free with USB modem 5 51
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
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…

831 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