Skip to main content

Posts

Showing posts with the label checkpoint

LỖI HYPER-V “FAILED TO CHANGE CURRENT STATE”

LỖI “FAILED TO CHANGE CURRENT STATE” Hôm nay mình có thao tác mount cái disk máy ảo (VHDX) rồi copy và create file trực tiếp trong cái disk ảo đó (mounted-disk) Dẫn đến là sau khi start lại VM thì báo lỗi “ Failed to change current state ”. Nguyên nhân là do việc copy & tạo file trực tiếp trong mounted-disk làm cho disk không còn đúng trạng thái ban đầu . Máy ảo này có 2 disk: disk 1 làm OS, disk 2 làm Data.Tìm hiểu kỹ hơn bằng tính nằng “ Inspect disk ” thì phát hiện disk 1 bị lỗi “ Property ‘MaxinternalSize’ does not exist in class ‘Msvm_VirtualHardDiskSettingData’ .” Nguyên nhân như đã nói ở trên, nó làm cho các bản Checkpoint (Snapshot) mất link với Disk gốc (Parent disk) Để khắc phục, chúng ta cần dùng lệnh Set-VHD để link Checkpoint với Parent Disk ·         Cần chạy lệnh với quyền Administrator “ Run as administrator ” ·         set-vhd "D:\Hyper-V-Replica\Virtual Hard Disks\XXX-d...

Hyper-V Checkpoints: Why, When and How to Use Them

Hyper-V Checkpoints: Why, When and How to Use Them Hyper-V   January 18, 2019   Posted by:  Maria Talley Before making changes in Hyper-V, whether it involves software configuration changes or a new software update, it's a good idea to first create a Hyper-V  checkpoint . A  Hyper-V checkpoint  follows the same idea of the more well-known Microsoft Windows  restore point   that many Windows users have utilized in the past before adding new applications or making other system changes to their machines. Hyper-V checkpoints allow IT administrators to easily save the existing state of a virtual machine before any changes are made so that if a problem crops up due to the changes, the VM can revert to its previous state. That's a very useful feature for VM administrators, since new configuration changes can always potentially bring new challenges to enterprise IT systems. Two types of checkpoints are available for use ...