XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Backup - some VMs skipped (unhealthy VDI chain)

    Scheduled Pinned Locked Moved Xen Orchestra
    6 Posts 2 Posters 876 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      rj-dsl
      last edited by

      Hello peeps..

      I have a backup running of some critical VM's in our environment, and some of them seem to be failing:

      09cd5a22-6858-48d6-b9be-9604cc92fa30-image.png

      Having read the article about why it is failing, i'm not really any wiser.. How do I find out why the chain is unhealthy? This job has run twice now (runs every Saturday), and in the first job all three VM's where backed up correctly.. I have no run any snapshots since or made any other changes to the VM's in question.

      Where do I look for an explanation on why it fails? Any logs ect?

      1 Reply Last reply Reply Quote 0
      • R Offline
        rj-dsl
        last edited by

        After a bit of digging, I have the following in my SMlog for one of my hosts (for the VM plonedb1):

        [user@server log] zless SMlog.1.gz | grep "66241838-0bda-7779-9e47-ffa51b266fe0"
        Nov  9 03:03:45 apps3 SMGC: [6188] Got sm-config for *11e9fba8[VHD](10.000G//9.375G|ao): {'vdi_type': 'vhd', 'read-caching-enabled-on-e455c572-5345-42ed-bcab-bd70ab26e228': 'false', 'read-caching-enabled-on-ed18b316-7a88-4d05-8769-4c86b92b458c': 'false', 'read-caching-reason-e455c572-5345-42ed-bcab-bd70ab26e228': 'SR_NOT_SUPPORTED', 'vhd-blocks': 'eJz7/38UjGTQwI7K/8fAwCD//wxD/QEgA0nuDwPDAaDE/z/8//+gmQBUaA9SUY8kyAAGdWASyPnDUN/AwM/ADNXBD1d3EAByD1OE', 'read-caching-reason-ed18b316-7a88-4d05-8769-4c86b92b458c': 'SR_NOT_SUPPORTED', 'vmhint': '66241838-0bda-7779-9e47-ffa51b266fe0'}
        Nov  9 03:24:15 apps3 SMGC: [16089] Got sm-config for *11e9fba8[VHD](10.000G//9.375G|ao): {'vdi_type': 'vhd', 'read-caching-enabled-on-e455c572-5345-42ed-bcab-bd70ab26e228': 'false', 'read-caching-enabled-on-ed18b316-7a88-4d05-8769-4c86b92b458c': 'false', 'read-caching-reason-e455c572-5345-42ed-bcab-bd70ab26e228': 'SR_NOT_SUPPORTED', 'vhd-blocks': 'eJz7/38UjGTQwI7K/8fAwCD//wxD/QEgA0nuDwPDAaDE/z/8//+gmQBUaA9SUY8kyAAGdWASyPnDUN/AwM/ADNXBD1d3EAByD1OE', 'read-caching-reason-ed18b316-7a88-4d05-8769-4c86b92b458c': 'SR_NOT_SUPPORTED', 'vmhint': '66241838-0bda-7779-9e47-ffa51b266fe0'}
        Nov  9 04:38:48 apps3 SMGC: [17707] Got sm-config for *11e9fba8[VHD](10.000G//9.375G|ao): {'vdi_type': 'vhd', 'read-caching-enabled-on-e455c572-5345-42ed-bcab-bd70ab26e228': 'false', 'read-caching-enabled-on-ed18b316-7a88-4d05-8769-4c86b92b458c': 'false', 'read-caching-reason-e455c572-5345-42ed-bcab-bd70ab26e228': 'SR_NOT_SUPPORTED', 'vhd-blocks': 'eJz7/38UjGTQwI7K/8fAwCD//wxD/QEgA0nuDwPDAaDE/z/8//+gmQBUaA9SUY8kyAAGdWASyPnDUN/AwM/ADNXBD1d3EAByD1OE', 'read-caching-reason-ed18b316-7a88-4d05-8769-4c86b92b458c': 'SR_NOT_SUPPORTED', 'vmhint': '66241838-0bda-7779-9e47-ffa51b266fe0'}
        
        

        It seems to indicate that SR is not supported, whatever that means 😄

        1 Reply Last reply Reply Quote 0
        • olivierlambertO Offline
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          In XO, in the SR view, advanced tab you have the list of uncoalesced disks.

          1. Just wait
          2. Find why it doesn't coalesce
          1 Reply Last reply Reply Quote 0
          • R Offline
            rj-dsl
            last edited by

            Is it because I have disks on seperate sr?
            Is it possible to see when a coalesce is scheduled to run?

            e7d909a6-4106-4dcb-a673-702b799985c8-image.png

            Does the back only snapshot the "main" install disk or all attached and active disks?

            Storage for main disk:
            9e77fb25-e436-4586-a3dd-96b5dc347b2e-image.png

            Advanced view:
            1485816a-0818-4b1b-8ad9-fc30ce81f87e-image.png

            Storage for attached data disk:
            ea7c86ed-3d46-49de-aefc-e15559b7af4f-image.png

            Advanced view:
            74e051df-433c-462c-8e87-ffd519d256f0-image.png

            For some reason advanced view on my data storage SR wont load?

            1 Reply Last reply Reply Quote 0
            • olivierlambertO Offline
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              1. If it's empty, it means there's nothing to see here
              2. Coalesce has no API whatsoever, so we can't guess when it will be trigger or if it's working correctly. You can track the progress by seeing the number of VDI to coalesce decreasing after time. Rescan the SR might help.
              1 Reply Last reply Reply Quote 0
              • R Offline
                rj-dsl
                last edited by

                So im guessing its failing because it hasnt coalsced on one of the SRs yet..

                Thx for the quick reply 🙂

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post