admin 管理员组

文章数量: 887021


2024年3月12日发(作者:instrument的含义)

误删VMware快照导致无法启动虚拟系统的问题

由于ESXi虚拟机需要扩盘,扩盘需要删除原来的快照,但是虚机磁盘较大,删除快照时没有从最早的

快照开始,而是直接选择从中间删除,导致删除快照在99%出现卡死现象,客户急于上线,因此手动停止了

快照,结果导致虚机磁盘容量为零,启动时报如下错误:VC界面告警要求整合快照,执行后仍然报错。

查看虚机文件夹:彩超_和彩超_文件不在文件夹内,但是彩超_和彩

超_文件存在,

打开彩超.vmsd快照管理文件,显示如下,无任何相关信息。

浏览虚机所在存储,下载虚拟系统的vmx配置文件到本地PC进行编辑,原文件如下:

.encoding = "UTF-8"

n = "8"

n = "8"

t = "TRUE"

displayName = "褰╄秴(192.168.4.50)"

extendedConfigFile = "褰╄秴.vmxf"

ze = "8388608"

numvcpus = "8"

memSize = "16384"

= "mhz"

= "manual"

lDev = "lsisas1068"

t = "TRUE"

ide1:Type = "cdrom-image"

ide1:me = "emptyBackingString"

ide1:t = "TRUE"

scsi0:Type = "scsi-hardDisk"

scsi0:me = "褰╄秴_"

0: = "normal"

scsi0:t = "TRUE"

scsi0:Type = "scsi-hardDisk"

scsi0:me = "褰╄秴_"

0: = "normal"

0:hputCap = "off"

scsi0:t = "TRUE"

onnected = "FALSE"

Device = "TRUE"

me = "vmware-null-remote-floppy"

scsi0:Type = "scsi-hardDisk"

scsi0:me = "褰╄秴_"

0: = "normal"

0:hputCap = "off"

scsi0:t = "TRUE"

guestOS = "windows7srv-64"

owerOn = "TRUE"

esume = "TRUE"

Suspend = "TRUE"

PowerOff = "TRUE"

me = "FALSE"

= "42 0c 25 cd bb 27 34 6b-7b 58 61 e5 7d ba 06 53"

= "50 0c ea e1 54 4c 85 60-28 45 d7 e1 29 91 78 14"

ySensitivity = "normal"

= "true"

0:hputCap = "off"

ck = "false"

nvram = "褰╄秴.nvram"

t = "true"

t = "true"

t = "true"

lDev = "pcieRootPort"

ons = "8"

t = "true"

lDev = "pcieRootPort"

ons = "8"

t = "true"

lDev = "pcieRootPort"

ons = "8"

t = "true"

lDev = "pcieRootPort"

ons = "8"

t = "TRUE"

tCompatibility = "hosted"

erSocket = "2"

UUID = "true"

ted = "FALSE"

tNumber = "17"

tNumber = "21"

tNumber = "22"

tNumber = "23"

tNumber = "24"

tNumber = "160"

tNumber = "33"

D = "50 05 05 6d bb 27 34 60"

hostCPUID.0 = "0000000b756e65476c65746e49656e69"

hostCPUID.1 = "000206f2bee3ffbfebfbff"

hostCPUID.80000001 = "2c100800"

guestCPUID.0 = "0000000b756e65476c65746e49656e69"

guestCPUID.1 = "000206f222031fabfbff"

guestCPUID.80000001 = "28100800"

userCPUID.0 = "0000000b756e65476c65746e49656e69"

userCPUID.1 = "000206f222031fabfbff"

userCPUID.80000001 = "28100800"

evcCompatibilityMode = "FALSE"

ointFBSize = "8388608"

softPowerOff = "TRUE"

Install = "FALSE"

stallError = "0"

Counter = "4"

ointSVGASize = "11534336"

nstallErrCode = "0"

Standby = "FALSE"

= "0"

= "normal"

= "0"

e = "0"

= "normal"

g = "./褰╄秴-"

dName = "/vmfs/volumes/577f9eed-8bda4f74-3345-441ea170ef66/褰╄秴/褰╄秴

-"

on = "56 4d f0 e4 12 66 9a e4-a1 9d 1c 9d 6e 83 5c 53"

me = ""

scsi0: = ""

scsi0: = ""

scsi0: = ""

= "2109343315"

cleanShutdown = "TRUE"

ide1:uestConnectionControl = "TRUE"

ly = "FALSE"

tNumber = "32"

lDev = "e1000"

kName = "VM Network"

sType = "vpx"

tedAddress = "00:50:56:8c:3e:6d"

t = "TRUE"

ide1:onnected = "FALSE"

更改下列文件如下图:

保存后,把原虚机目录改名,重新上传更改的到虚机目录,查看虚机属性,磁盘恢复,

重新启动虚机OK。

备注:建议在删除虚机快照时不要强制停止,虚机恢复后最好做一次完整备份,然后按照要求把虚机快照

做整合,完成后再做操作,

虚机快照不是备份,越少越好,建议最好不要超过3

个快照。


本文标签: 快照 虚机 删除 导致 磁盘