티스토리 뷰

VMware를 이용하다 보면, Snapshot 때문에 발생하는 오류가 있다. (아래의 파란색 박스)

주로, 다른 곳에서 생성한 Snapshot을 가져와 이용할 때나,
VMware의 버전 업 뒤에 기존 Snapshot을 이용할 때 아래의 오류 메시지를 볼 수 있다.

이 오류가 발생하면 아래의 메시지가 나오면서 Revert가 안되고 튕겨져 나오는데,
'이걸 다시 첨부터 만들어야 하나;;' 하는 생각에 정신이 아득해진다.

The frame buffer layout of the current display cannot be made to match the frame buffer layout stored in the snapshot. The dimensions of the frame buffer in the snapshot are: Max width 3200, Max height 1770, Max size 22659072. The dimensions of the frame buffer on the current display are: Max width 3200, Max height 1600, Max size 20512768. Error encountered while trying to restore the virtual machine state from file "C:\Documents and Settings\bleh\My Documents\My Virtual Machines\dev\Windows XP Professional.vmss".

그래서, 어떻게 해서든 복구를 해보려고 하는데,
검색을 해도 고만고만한 대답만 올라와 있을 뿐이다...
님하들... 제발 ㅜ

그러던 와중에 하나 찾은게 아래의 링크...

http://craigandliz.homedns.org/cw/VmWare

짧은 글이지만, '아... 저렇게 하면 되겠구나' 하는 생각이 들었다.

 I was getting the error similar to above. Some of the fields in this error were interesting like, Max size: 23789568 (0x016b0000) and 16777216 (0x01000000). From the error message i knew that VMware is attempting to read some values from Snapshot8.vmsn in my VMware directory. So using a hex editor i searched for bytes (00 00 6b 01) in the vmsn file. (I searched in hex as i could not find the decimal number anywhere in the file). In my file this binary pattern appeared couple of times. Browsing through all the matches i found a particular data structure which had strings like "horizCount" & "vertCount", and voila my binary pattern was found very close to these strings. Following this lead i replaced 00 00 6b 01 with 00 00 00 01.

Following this modification my attempt to revert was successful :). Then i shut down my image and modified the display to use "host Setting for monitors". Took a new snapshot of this working image on my laptop and it is working now.

그래서 내 VMware Snapshot 의 *.vmsn 파일을 Hex Editor 로 열어서 수정을 해보기로 했다.
실제로 아래를 보면 'horizCount' 와 'vertCount' 문자열을 확인할 수 있는데



그 위치에서  Max Size 의 값( ex. 22659072 ) 을 검색을 해보면, 위 그림의 맨 아래 박스와 같이 매우 가까운 위치에서 찾을 수 있다.
이 값을 에러 메시지에 나오는 것처럼 적당한 크기 ( ex. 20512768 )로 바꿔주고,
Revert를 시도하면 정상적으로 동작되는 것을 볼 수 있다.

경우에 따라 Crash가 발생하는데, VMware가 뻑난 것이 아니라 Snapshot 이 오류로 종료된 것이다.
다행히 Revert 하려던 버전으로 되돌려진 뒤에 종료(전원OFF)된 것이기 때문에
기쁜 마음으로 Power On 해주면 된다. 유후~

이상~!
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함