Hello all,
I am having an issue with snapshots on one of my servers are taking a very long time to create.
The server is a PowerEdge R540, 10 CPUs x Intel(R) Xeon(R) Silver 4210 CPU @ 2.20GHz, 64 GB RAM.
I am taking a snapshot of a Windows 2016 guest and it's taking about two hours to complete.
Same setup on three other hosts not as robust as this one took a few minutes with the "Snapshot the virtual machine's memory" option selected.
I read a post suggesting to remove to have that option removed. Is there any reason to be concerned performing the process that way?
So I'm not sure what are the possible reasons causing this to take place to begin with.
Any guidance will be appreciated in advance!
As you mentioned, you can uncheck the memory state, the only difference is that without memory state your VM, once restored from the snapshot will be powered off and you need to power it on manually.
Worth to try.
Try use PowerCLI command to take snapshot of the affected VM.
Try this out.
Get-VM -Name VMNameHere | New-Snapshot -Name SnapshotName -Description SnapshotDescription
You need connect to the vCenter to run the above command
Regards
Sam
Hey @DrorAmbar ,
Do you have any other snapshots for that VM?
Hi ptarnawski,
No, that was the very first snapshot
As you mentioned, you can uncheck the memory state, the only difference is that without memory state your VM, once restored from the snapshot will be powered off and you need to power it on manually.
Worth to try.
migrate vm on other host then try , did you try taking snap shot by command line
Thank you @ptarnawski for the explanation
Making sure that I understand you correctly: If I take a snapshot unchecking the memory state, then perform "delete all" - will the VM be turned off when it's done or that is not even a concern in this case?
Hi @RajeevVCP4 no I haven't tried that.
I am not familiar with that option, can you please provide more information about it or any references to how it's done?
I am assuming that I will have to enable SSH for that.
Try use PowerCLI command to take snapshot of the affected VM.
Try this out.
Get-VM -Name VMNameHere | New-Snapshot -Name SnapshotName -Description SnapshotDescription
You need connect to the vCenter to run the above command
Regards
Sam
Hey @DrorAmbar ,
If you delete a snapshot, nothing will happen, VM is ON. If you restore from snapshot, VM will be powered off.
Got it @Sam0054
Thanks!
Thank you @ptarnawski @RajeevVCP4 and @Sam0054
Your answers addressed all my concerns.
You guys are awesome!
I am glad I could help 🙂
@DrorAmbar Glad it helped.
Can you please mark the answer as the solution + a kudos if you don't mine 🙂.
Thanks