VCF on VxRail:如何使用 CLI 删除虚拟机快照

Summary: 如何使用 CLI 删除虚拟机快照。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

  1. 打开与虚拟机所在的 ESXi 主机的 PuTTY 会话。

  2. 列出虚拟机并将 VMID 复制到记事本中

    # vim-cmd vmsvc/getallvms
  3. 验证虚拟机是否具有现有快照(使用步骤 2 中的 VMID)

    # vim-cmd vmsvc/snapshot.get <VMID>
  4. 删除特定虚拟机的所有快照

    # vim-cmd vmsvc/snapshot.removeall <VMID>

确认指定虚拟机的所有快照均已删除。

提醒:此命令将删除所有快照,而不提示确认。

 

Affected Products

VMWare Cloud on Dell EMC VxRail E560F, VMWare Cloud on Dell EMC VxRail E560N, VxRail Appliance Family, VxRail Appliance Series, VxRail G Series Nodes, VxRail D Series Nodes, VxRail E Series Nodes, VxRail P Series Nodes, VxRail S Series Nodes , VxRail V Series Nodes ...

Products

VxRail VD Series Nodes
Article Properties
Article Number: 000227877
Article Type: How To
Last Modified: 26 Aug 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.