VM stuck at boot - delete CTK file even if snapshots are present? The Next CEO of Stack OverflowVMware Data Recovery always fails with error -3902VMware ESXi Missing VMDK (Flat files and snapshots, but no base image)Why are snapshots considered as temporary backups not real backups?Exclude file storage from VMWare snapshots?How do I delete ESXi vm snapshots using the least additional space possible?Where to install ESXi so that all local drives are available to VSANExchange 2013 database corruption with event 476 in ESEBoot from VMware snapshot file after accidentally deleting related snapshotsNetApp .Snapshots wont deleteEnsuring VMware ESXi storage integrity?
If the heap is zero-initialized for security, then why is the stack merely uninitialized?
Grabbing quick drinks
How does the Z80 determine which peripheral sent an interrupt?
Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis
What can we do to stop prior company from asking us questions?
In excess I'm lethal
Unreliable Magic - Is it worth it?
Solidity! Invalid implicit conversion from string memory to bytes memory requested
Interfacing a button to MCU (and PC) with 50m long cable
Is 'diverse range' a pleonastic phrase?
Sending manuscript to multiple publishers
Why has the US not been more assertive in confronting Russia in recent years?
What is the purpose of the Evocation wizard's Potent Cantrip feature?
Why do remote companies require working in the US?
How to prevent changing the value of variable?
Why do variable in an inner function return nan when there is the same variable name at the inner function declared after log
What does convergence in distribution "in the Gromov–Hausdorff" sense mean?
Why does the UK parliament need a vote on the political declaration?
Contours of a clandestine nature
Anatomically Correct Strange Women In Ponds Distributing Swords
Does it take more energy to get to Venus or to Mars?
Would a galaxy be visible from outside, but nearby?
To not tell, not take, and not want
How to count occurrences of text in a file?
VM stuck at boot - delete CTK file even if snapshots are present?
The Next CEO of Stack OverflowVMware Data Recovery always fails with error -3902VMware ESXi Missing VMDK (Flat files and snapshots, but no base image)Why are snapshots considered as temporary backups not real backups?Exclude file storage from VMWare snapshots?How do I delete ESXi vm snapshots using the least additional space possible?Where to install ESXi so that all local drives are available to VSANExchange 2013 database corruption with event 476 in ESEBoot from VMware snapshot file after accidentally deleting related snapshotsNetApp .Snapshots wont deleteEnsuring VMware ESXi storage integrity?
I am tasked with recovering a VMWare 6.5 cluster that, after an unexpected power failure, has a VM (the most important one...) stuck at boot.
From the vmware.log
file, it seems the problem is related to a corrupted CTK file and, as I read on this vmware KB, it should be sufficient to remove the affected CTK file (ok, not really so simple, but simple enough...)
However the affected VM has some snapshots active and, as I read on another (older) KB, such a procedure should not be attempted if snapshots are present.
What is the right path/procedure to unstuck the VM and letting the boot process to complete?
vmware-esxi vmware-vsphere vmware-vcenter
add a comment |
I am tasked with recovering a VMWare 6.5 cluster that, after an unexpected power failure, has a VM (the most important one...) stuck at boot.
From the vmware.log
file, it seems the problem is related to a corrupted CTK file and, as I read on this vmware KB, it should be sufficient to remove the affected CTK file (ok, not really so simple, but simple enough...)
However the affected VM has some snapshots active and, as I read on another (older) KB, such a procedure should not be attempted if snapshots are present.
What is the right path/procedure to unstuck the VM and letting the boot process to complete?
vmware-esxi vmware-vsphere vmware-vcenter
add a comment |
I am tasked with recovering a VMWare 6.5 cluster that, after an unexpected power failure, has a VM (the most important one...) stuck at boot.
From the vmware.log
file, it seems the problem is related to a corrupted CTK file and, as I read on this vmware KB, it should be sufficient to remove the affected CTK file (ok, not really so simple, but simple enough...)
However the affected VM has some snapshots active and, as I read on another (older) KB, such a procedure should not be attempted if snapshots are present.
What is the right path/procedure to unstuck the VM and letting the boot process to complete?
vmware-esxi vmware-vsphere vmware-vcenter
I am tasked with recovering a VMWare 6.5 cluster that, after an unexpected power failure, has a VM (the most important one...) stuck at boot.
From the vmware.log
file, it seems the problem is related to a corrupted CTK file and, as I read on this vmware KB, it should be sufficient to remove the affected CTK file (ok, not really so simple, but simple enough...)
However the affected VM has some snapshots active and, as I read on another (older) KB, such a procedure should not be attempted if snapshots are present.
What is the right path/procedure to unstuck the VM and letting the boot process to complete?
vmware-esxi vmware-vsphere vmware-vcenter
vmware-esxi vmware-vsphere vmware-vcenter
asked yesterday
shodanshokshodanshok
26.6k34788
26.6k34788
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
In this case, the solution was the simplest, yet strangest, possible: to wait for the night. After some hours, both VM "unstuck" and correctly booted.
Regarding the change-tracking-file (CTK) question, I simulated the problem with a spare VMWare hypervisor and, after reading VMWare own documentation (quite light on details...) I think the key point it that you can delete the CTK files even if the virtual machines has active snapshots, but such changes can corrupt any subsequent CTK-aware backups. So, in such cases, you also need to disable CTK on VM and disk level, consolidate any snapshots, do a full backup, re-enable CTK (again, both on VM and disk level) and re-enable incremental backups.
Disabling CTK seems to have effect on the last CTK file only (note: a CTK file exists for each VMDK flat and delta files, so each snapshot commands a new CTK file) and this seems to be the reason VMWare recommend to have no snapshots when enabling/disabling block change tracking. From here:
Note: Ensure that there are no snapshots on the virtual machine before
enabling change tracking. If you create snapshots before enabling CBT,
the QueryChangedDiskAreas API might not return any error or the data
returned by QueryChangedDiskAreas might be incorrect.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f960531%2fvm-stuck-at-boot-delete-ctk-file-even-if-snapshots-are-present%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
In this case, the solution was the simplest, yet strangest, possible: to wait for the night. After some hours, both VM "unstuck" and correctly booted.
Regarding the change-tracking-file (CTK) question, I simulated the problem with a spare VMWare hypervisor and, after reading VMWare own documentation (quite light on details...) I think the key point it that you can delete the CTK files even if the virtual machines has active snapshots, but such changes can corrupt any subsequent CTK-aware backups. So, in such cases, you also need to disable CTK on VM and disk level, consolidate any snapshots, do a full backup, re-enable CTK (again, both on VM and disk level) and re-enable incremental backups.
Disabling CTK seems to have effect on the last CTK file only (note: a CTK file exists for each VMDK flat and delta files, so each snapshot commands a new CTK file) and this seems to be the reason VMWare recommend to have no snapshots when enabling/disabling block change tracking. From here:
Note: Ensure that there are no snapshots on the virtual machine before
enabling change tracking. If you create snapshots before enabling CBT,
the QueryChangedDiskAreas API might not return any error or the data
returned by QueryChangedDiskAreas might be incorrect.
add a comment |
In this case, the solution was the simplest, yet strangest, possible: to wait for the night. After some hours, both VM "unstuck" and correctly booted.
Regarding the change-tracking-file (CTK) question, I simulated the problem with a spare VMWare hypervisor and, after reading VMWare own documentation (quite light on details...) I think the key point it that you can delete the CTK files even if the virtual machines has active snapshots, but such changes can corrupt any subsequent CTK-aware backups. So, in such cases, you also need to disable CTK on VM and disk level, consolidate any snapshots, do a full backup, re-enable CTK (again, both on VM and disk level) and re-enable incremental backups.
Disabling CTK seems to have effect on the last CTK file only (note: a CTK file exists for each VMDK flat and delta files, so each snapshot commands a new CTK file) and this seems to be the reason VMWare recommend to have no snapshots when enabling/disabling block change tracking. From here:
Note: Ensure that there are no snapshots on the virtual machine before
enabling change tracking. If you create snapshots before enabling CBT,
the QueryChangedDiskAreas API might not return any error or the data
returned by QueryChangedDiskAreas might be incorrect.
add a comment |
In this case, the solution was the simplest, yet strangest, possible: to wait for the night. After some hours, both VM "unstuck" and correctly booted.
Regarding the change-tracking-file (CTK) question, I simulated the problem with a spare VMWare hypervisor and, after reading VMWare own documentation (quite light on details...) I think the key point it that you can delete the CTK files even if the virtual machines has active snapshots, but such changes can corrupt any subsequent CTK-aware backups. So, in such cases, you also need to disable CTK on VM and disk level, consolidate any snapshots, do a full backup, re-enable CTK (again, both on VM and disk level) and re-enable incremental backups.
Disabling CTK seems to have effect on the last CTK file only (note: a CTK file exists for each VMDK flat and delta files, so each snapshot commands a new CTK file) and this seems to be the reason VMWare recommend to have no snapshots when enabling/disabling block change tracking. From here:
Note: Ensure that there are no snapshots on the virtual machine before
enabling change tracking. If you create snapshots before enabling CBT,
the QueryChangedDiskAreas API might not return any error or the data
returned by QueryChangedDiskAreas might be incorrect.
In this case, the solution was the simplest, yet strangest, possible: to wait for the night. After some hours, both VM "unstuck" and correctly booted.
Regarding the change-tracking-file (CTK) question, I simulated the problem with a spare VMWare hypervisor and, after reading VMWare own documentation (quite light on details...) I think the key point it that you can delete the CTK files even if the virtual machines has active snapshots, but such changes can corrupt any subsequent CTK-aware backups. So, in such cases, you also need to disable CTK on VM and disk level, consolidate any snapshots, do a full backup, re-enable CTK (again, both on VM and disk level) and re-enable incremental backups.
Disabling CTK seems to have effect on the last CTK file only (note: a CTK file exists for each VMDK flat and delta files, so each snapshot commands a new CTK file) and this seems to be the reason VMWare recommend to have no snapshots when enabling/disabling block change tracking. From here:
Note: Ensure that there are no snapshots on the virtual machine before
enabling change tracking. If you create snapshots before enabling CBT,
the QueryChangedDiskAreas API might not return any error or the data
returned by QueryChangedDiskAreas might be incorrect.
answered 18 hours ago
shodanshokshodanshok
26.6k34788
26.6k34788
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f960531%2fvm-stuck-at-boot-delete-ctk-file-even-if-snapshots-are-present%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown