Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VMware file confusion - snapshot deletion

Posted on 2013-12-04
10
Medium Priority
?
620 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
10 Comments
 
LVL 123
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 123
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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 

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

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
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 …
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
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…

721 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