jskfan
asked on
Remove Snapshot with Command line:
Remove Snapshot with Command line:
I am trying to remove snapshot using the command lines below. Retrieving the VMID then Removing snapshots related to that VMID:
in the snapshot manager there is no Snapshot showing.
Any Help ?
Thank you
I am trying to remove snapshot using the command lines below. Retrieving the VMID then Removing snapshots related to that VMID:
vim-cmd vmsvc/getallvms
Vmid Name File Guest OS Version Annotation
50 VM1 [Shared-Datastore] VM1/VM1.vmx otherGuest vmx-14
[root@unknown000c290ed7cb:/vmfs/volumes/5e52777e-3a92a27c-79e3-000c29b2122f/VM1] vim-cmd vmsvc/snapshot.removeall 50
Remove All Snapshots:
[root@unknown000c290ed7cb:/vmfs/volumes/5e52777e-3a92a27c-79e3-000c29b2122f/VM1]
however when I run the ls -lha command I still see the snapshot there:
[code]
-rw------- 1 root root 6.0M Feb 28 10:19 VM1-000001-sesparse.vmdk
-rw------- 1 root root 300 Feb 28 10:19 VM1-000001.vmdk
in the snapshot manager there is no Snapshot showing.
Any Help ?
Thank you
Snapshots generated using the API may not appear in Snapshot Manager, if you use the GUI to create snapshots, they will appear in Snapshot Manager.
ASKER
I used the GUI
You used the GUI to create the snapshot and it didn't appear ?
ASKER
correct . It did not appear in the GUI
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks