Not able to Delete Snapshot of a Deleted VM(AHV) | Nutanix Community
Skip to main content
Solved

Not able to Delete Snapshot of a Deleted VM(AHV)


Forum|alt.badge.img+2
  • Trailblazer
  • 18 replies

I have exported list of all snapshots running on AHV in our environment. On a few snapshots, VM name is empty. I suspect, this is because VM has been deleted without deleting snapshot. Now how to delete such snapshots?

Below is example: Snapshot name is “removing ngt”

VM-Name Snapshot-Name Creation-Time  
servername Test Snapshot 3/19/2019 11:00  
  removing ngt 2/6/2020 1:00  

 

Best answer by Alona

Hi Charu,

 

I would suggest to verify if the snapshot does belong to a non-existing VM first. You can pull the snapshot information with the aCLI command below:

nutanix@cvm$ acli snapshot.get <name_of_the_snapshot>

Look for “vm_uuid: ” field in the output. Then query cluster for the VM’s UUID (below is an example):

ncli vm ls id=60646064-e056-2f2f-0000-0e0733edcabcd [None]

If the output is [None] as in the example above then the snapshot is truly an orphan. To remove it please open a case with Nutanix Support.

 

Let me know if that helps, please.

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

2 replies

Alona
Nutanix Employee
Forum|alt.badge.img+5
  • Nutanix Employee
  • 432 replies
  • Answer
  • May 7, 2020

Hi Charu,

 

I would suggest to verify if the snapshot does belong to a non-existing VM first. You can pull the snapshot information with the aCLI command below:

nutanix@cvm$ acli snapshot.get <name_of_the_snapshot>

Look for “vm_uuid: ” field in the output. Then query cluster for the VM’s UUID (below is an example):

ncli vm ls id=60646064-e056-2f2f-0000-0e0733edcabcd [None]

If the output is [None] as in the example above then the snapshot is truly an orphan. To remove it please open a case with Nutanix Support.

 

Let me know if that helps, please.


Forum|alt.badge.img+2
  • Author
  • Trailblazer
  • 18 replies
  • May 7, 2020

Thanks Alona, your suggestion helps me to confirm and delete the snapshot.

 

acli snapshot.delete <snapshot uuid>