Avatar of jskfan
jskfanFlag for Cyprus

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:

 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

Open in new window


in the snapshot manager there is no Snapshot showing.

Any Help ?

Thank you
VirtualizationVMware

Avatar of undefined
Last Comment
jskfan
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

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.
Avatar of jskfan
jskfan
Flag of Cyprus image

ASKER

I used the GUI
You used the GUI to create the snapshot and it didn't appear ?
Avatar of jskfan
jskfan
Flag of Cyprus image

ASKER

correct . It did not appear in the GUI
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

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of jskfan
jskfan
Flag of Cyprus image

ASKER

Thanks
VMware
VMware

VMware, a software company founded in 1998, was one of the first commercially successful companies to offer x86 virtualization. The storage company EMC purchased VMware in 1994. Dell Technologies acquired EMC in 2016. VMware’s parent company is now Dell Technologies. VMware has many software products that run on desktops, Microsoft Windows, Linux, and macOS, which allows the virtualizing of the x86 architecture. Its enterprise software hypervisor for servers, VMware vSphere Hypervisor (ESXi), is a bare-metal hypervisor that runs directly on the server hardware and does not require an additional underlying operating system.

39K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo