VMware的Snapshot(快照)相关知识

最近在研究VMware的快照的相关知识,在这里做个记录和分享。

先简单介绍下快照。

A snapshot preserves the state and data of a virtual machine at a special point in time.

1) 快照保存了虚拟机在特定时间点的power state;

2) 还有就是数据。比如内存信息,所以当你做了个memory snapshot的时候,那个快照文件.vmsn的大小和你分配给虚拟机的内存大小几乎一样。

当你做了快照之后,VMware就创建一个child disk(sparse disk),之后虚拟机的数据变更都会写在这个child disk中,而base disk就变成只读的了。

base disk 和那个快照文件.vmsn就可以还原快照时的状态。

下面是一个老外写的关于快照配置文件的一些内容。

VMware records snapshot information about the current VM in a .vmsd file. This file is located with the rest of the virtual machine configuration and VMDK files on the datastore. The file is normally called .vmsd. This file will contain information, even if your VM has no snapshots in place.

It is possible that in some cases, ESX fails to properly clean up after previous snapshots were removed. The information for p
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值