實驗目的:熟悉Xenserver刪除快照命令、驗證刪除快照後對原虛機的影響
試驗方法:
確保知道要刪除的檢查點或快照的 UUID,然後運行以下命令:
1. 運行 snapshot-list 命令以查找要還原的快照或數據點的 UUID:
xe snapshot-list
2. 記下快照的 UUID,然後運行 snapshot-uninstall 命令將其刪除:
xe snapshot-uninstall snapshot-uuid=<snapshot-uuid>
3. 此命令會警告您將要刪除的 VM 和 VDI。鍵入 yes 確認。
例如: xe snapshot-uninstall snapshot-uuid=1760561d-a5d1-5d5e-2be5-d0dd99a3b1ef
The following items are about to be destroyed
VM : 1760561d-a5d1-5d5e-2be5-d0dd99a3b1ef (Snapshot with memory)
VDI: 11a4aa81-3c6b-4f7d-805a-b6ea02947582 (0)
VDI: 43c33fe7-a768-4612-bf8c-c385e2c657ed (1)
VDI: 4c33c84a-a874-42db-85b5-5e29174fa9b2 (Suspend image)
Type 'yes' to continue
yes
All objects destroyed
實驗結果:待驗證