7 Replies Latest reply on Dec 11, 2017 2:24 PM by vMan

    vSAN Resync Stuck

    vMan Enthusiast
    vExpert

      Has anyone ever seen this happen before? (the VM appears to be functioning fine) but the resync GUI shows this...

       

        • 1. Re: vSAN Resync Stuck
          TheBobkin Master
          VMware EmployeesvExpert

          Hello vMan,

           

           

          Try refreshing the state of these Objects via RVC:

          # vsan.check_state -r <PathToCluster>

          http://www.virten.net/2017/07/vsan-6-6-rvc-guide-part-6-troubleshooting/

           

          If this does not start the Objects resyncing properly then try owner abdicating them from the host that is the current Dom_Owner of these:

          # vsish -e set /vmkModules/vsan/dom/ownerAbdicate <objectUUID>

           

           

          Bob

          1 person found this helpful
          • 2. Re: vSAN Resync Stuck
            vMan Enthusiast
            vExpert

            thanks I did try refreshing it but didn't help.

             

            I actually rebooted another vSAN host and it went away and i have no inaccessible objects now.

             

            Cheers

            vMan

            • 3. Re: vSAN Resync Stuck
              TheBobkin Master
              vExpertVMware Employees

              Hello vMAN,

               

               

              Not really advisable, but there are 3 scenarios that would result in that fixing the stuck resync:

              1. The host rebooted was the target of the stuck resync and when it became unavailable to the cluster, that job would be marked failed and the resync requeued (either on another node if enough available Fault Domains or on that node again once it became available).

              2. The host rebooted was the source of the resync data and the job was marked as failed when it became unavailable and restarted once it came back.

              3. The rebooted host was the DOM_Owner of the Object and this switched to another host when this became unavailable (Owner Abdication does this also).

               

               

              Bob

              • 4. Re: vSAN Resync Stuck
                vMan Enthusiast
                vExpert

                yeah i wouldn't typically reboot it but it was just my lab

                 

                thanks for the reply tho

                • 5. Re: vSAN Resync Stuck
                  santoshchowdary07 Novice

                  I had the same issue, fortunately for me the disk(vmdk) that was involved in the stuck vSAN resync doesn't have any data on it. So after running out of options to fix this, I have tried to completely delete the disk from virtual machine and re-added a new disk. This resolved the issue for me. If you don't have much data on this disk where the vSAN is stuck, you can probably try adding a temporary disk to the virtual machine and migrate the data over to the temporary disk and delete this disk completely from the VM. If not, I would recommend opening a support case with VMware.

                  1 person found this helpful
                  • 6. Re: vSAN Resync Stuck
                    TheBobkin Master
                    vExpertVMware Employees

                    Hello santoshchowdary07

                     

                     

                    That's a decent alternative workaround too  - haven't had to consider using that since the *good* old days of vSAN 5.5 as Owner abdicating works reliably in this scenario unless there is something seriously wrong with the Object, cluster or the underlying storage device the components are located on (in which case in-guestOS cloning may be a good alternative).

                    Another possibility (but very unlikely the case here) is data-components unable to complete resync due to the target fault domain not having enough space, I have seen this in situations with poorly-sized clusters/disks e.g. putting vmdks near the size of the node-capacity on the vsandatastore - later versions of vSAN deal with this scenario better with the ability to stripe components a lot better to fit the smaller pockets of free space available on individual capacity-drives.

                     

                     

                    Bob

                    • 7. Re: vSAN Resync Stuck
                      vMan Enthusiast
                      vExpert

                      Thanks everyone for the replies