Link to home
Start Free TrialLog in
Avatar of sglee
sglee

asked on

Remove Snapshot takes a long time

User generated imageHi,
 
I have ESXi V5.1 running several virtual machines. Over the weekend, I upgraded ESXi from V4.0 to V5.1 successfully, applied VSphere 5 Essentials license, installed the backup software called "NAKIVO", performed virtual machine backups.

This morning, users complained that the database system was running slow, so I open vSphere Client and noticed "Remove snapshpt  20%  FS1-W2003 VM" under Recent Tasks.
The database system runs on this particular VM. So that explains why users are experiencing "slowness".
Can you explain how/why this snapshot was created,  why it is being removed now, and how I can make it so that it does not happen again during work hours?
Avatar of dhoppel
dhoppel
Flag of United States of America image

I'm not sure how it was created, it may have been a byproduct of the upgrade process or it could have been sitting there for a long time, but I do know that you can't cancel it without really screwing up your system (it won't let you cancel and hardbooting is a bad plan, trust me, I've done that). There's not much you can do other than wait it out, and it usually takes a looooong time, especially if the snapshot is old.

My theory is that if the snapshot was created with a v4 software the v5 software wants to roll it up to essentially get rid of a legacy snap shot in favor of allowing new/current ones.
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sglee
sglee

ASKER

User generated imageNow the percentage moved up a little - 36%. I think it will be done in the next several hours.

Since I installed NAKIVO backup software on this weekend (for the first time) and there were some error messages while performing first backup job (backing up all VMs). Let me look into the error log in NAKIVO backup software. There must have been problems/issues backing up this VM because I have 4 other VMS and I don't see "Remove snapshot" being done on other VMs. This VM is the biggest in size (about 300GB in provisioned storage) where the other 4 VMs are like 80GB/50GB/40GB/23GB respectively.
It depends on

1. How large the VM is to backup, because whilst the VM is being backed up, all the changes are being written to another snapshot disk....

how large is this snapshot disk, when the backup job finishes, this merges with the parent.

Make sure your BACKUP JOBS are completed out of core hours, when the VM is at it's lowest I/O or changes!

BE PATIENT! it will complete!
Avatar of sglee

ASKER

Got you.
Avatar of sglee

ASKER

Should I expect this process each time when the backup job is run?
Possibly....

it depends how many snapshots are attached, it's trying to delete, how busy the VM is, how slow was the first backup...
Avatar of sglee

ASKER

ok. I will keep on eye on for next few days.

Thanks.