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?










2















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?










share|improve this question


























    2















    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?










    share|improve this question
























      2












      2








      2








      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?










      share|improve this question














      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked yesterday









      shodanshokshodanshok

      26.6k34788




      26.6k34788




















          1 Answer
          1






          active

          oldest

          votes


















          1














          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.







          share|improve this answer























            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
            );



            );













            draft saved

            draft discarded


















            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









            1














            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.







            share|improve this answer



























              1














              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.







              share|improve this answer

























                1












                1








                1







                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.







                share|improve this answer













                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.








                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 18 hours ago









                shodanshokshodanshok

                26.6k34788




                26.6k34788



























                    draft saved

                    draft discarded
















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                    Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

                    What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company