VMware Cloud Community
TobiasM
Contributor
Contributor
Jump to solution

Cannot delete old snapshots

Hello

When I run the VMWare vSphere Health Check script I´ve spotted some old snapsshots

(some older than 200days). We use vSphere 5.0.0 and NetApp Virtual Storage Console 2.1.2

and the retention time for keeping old snapshot is 5 days on the primary site. The old snapshot

which I want to remove has probably been done at some kind of test. Now I want to delete them,

which a didn´t succeed in. I can find the datastores and the folders with the snapshots in. But

when I try to remove the folder it asks if  "If WM's are sharing base disks contained in this folder,

this folder deletaing may preventable other VM's from operating correctly". Unfortunately it

seems to be the case becasue I get the following error message when I try to delete the folder.

vsphere bort.JPG

How do I do to remove these the old snapshot? I can´t see them in the vSphere snapshot manager.

/T.

0 Kudos
1 Solution

Accepted Solutions
rickardnobel
Champion
Champion
Jump to solution

TobiasM wrote:

Hej Rickard

I can´t see any message like "Snapshot consolidate needed" on the summary tab

Ok, that is when vCenter notices that there is a mismatch between the snapshot information (*.vmsd file) and the actualt snapshots being in use (delta-xxxx.vmdk).

You have no option to remove/repair the snapshot from the Netapp side?

My VMware blog: www.rickardnobel.se

View solution in original post

0 Kudos
7 Replies
rickardnobel
Champion
Champion
Jump to solution

Hej Tobias,

if select the VM summary do you see any message on "Snapshot consolidation needed"?

My VMware blog: www.rickardnobel.se
0 Kudos
kumarsenthild
Enthusiast
Enthusiast
Jump to solution

Hi,

Please dont delete any files & folders in VMware.

For your issue we have three options

Option 1 : Try to create new snapshot and go to the snapshot manager & select delete all snapshots ( It will take some time , it will strunk in 95 % )

Option 2 : - Best option for me.. power off the VM & clone the VM - It will commit all snapshot , once you verified clone VM you can delete old VM.

Option 3: Need to verify the snaphsot chains from parent disk to last snapshot disk

Regards Senthil Kumar D
0 Kudos
TobiasM
Contributor
Contributor
Jump to solution

Hej Rickard

I can´t see any message like "Snapshot consolidate needed" on the summary tab

0 Kudos
rickardnobel
Champion
Champion
Jump to solution

TobiasM wrote:

Hej Rickard

I can´t see any message like "Snapshot consolidate needed" on the summary tab

Ok, that is when vCenter notices that there is a mismatch between the snapshot information (*.vmsd file) and the actualt snapshots being in use (delta-xxxx.vmdk).

You have no option to remove/repair the snapshot from the Netapp side?

My VMware blog: www.rickardnobel.se
0 Kudos
TobiasM
Contributor
Contributor
Jump to solution

HI

I will probobly use options number 2, in that case I have to change the name of the datastore folder and lose all my snapshot retention.

We use NetApp VSC therefor we do not get any snapshot in the snapshot manager

no snap.JPG

It would been nice if I just could remove the folder, is there posibility for that?

vmware folder.JPG

/T

0 Kudos
TobiasM
Contributor
Contributor
Jump to solution

Yes, it´s possible to remove the snapshot from the storage system. But what happends to the snapshot/base disk relation i vmware?

0 Kudos
kumarsenthild
Enthusiast
Enthusiast
Jump to solution

Before delete the folder please take a clone of the VM.

Once you take a clone of the VM ,

1, Go the orginal VM setting , note down all disk datastore path and SCSI # .

2, Remove all disks from the VM ( Dont delete the disk) and click finish

3, Again go the setting and add the disk one by one and finish.

4, Now try to power on the VM & check the status of the VM

5, If everything fine then u can delete the folders as you mentioned.


Regards Senthil Kumar D
0 Kudos