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

    Continuous Replication fails with VDI_IO_ERROR(Device I/O errors) on fresh XOA install after XenServer 7.2 -> XCP-ng 8.0 upgrade

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    20 Posts 7 Posters 3.0k Views 2 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.
    • olivierlambertO Offline
      olivierlambert Vates πŸͺ Co-Founder CEO
      last edited by

      Okay I'm pinging @julien-f so we can include this as default (because it seems to not break for older XS)

      julien-fJ 1 Reply Last reply Reply Quote 0
      • 1 Offline
        1am3r
        last edited by

        We run this config now for a week and didn't have any problems. So it looks good from our site.

        1 Reply Last reply Reply Quote 2
        • txsastreT Offline
          txsastre
          last edited by

          same problem, same solution. works fine πŸ˜‰

          1 Reply Last reply Reply Quote 0
          • rizaemet 0R Offline
            rizaemet 0
            last edited by rizaemet 0

            'guessVhdSizeOnImport: true' looks like solved the problem 9 day ago. But I'm getting same error sometimes and randomly since that day.
            Daily CR job have 31 VMs. Some day successful 31/31. But some days one or two VM replication fail with tis message: VDI_IO_ERROR(Device I/O errors).
            I think my problem still related with this topic.

            N 1 Reply Last reply Reply Quote 0
            • N Offline
              nyash @rizaemet 0
              last edited by nyash

              @rizaemet-0
              Ever since I have changed to guessVhdSizeOnImport: true I have not had any problems. However I only backup 5 VMs which is not much.

              In the past I noticed that if I didn't change the default "Concurrency" setting to 1 in the Backup NGs advanced settings (I assume that it tries to parallelize backups by default) then my tasks would fail randomly once in a while with VDI_IO_ERROR(Device I/O errors). I figured that perhaps my servers are not fast enough; they have about 40MB/s write speed to the disks only. Setting to 1 solved it, but I can imagine this may not be desirable if there is lots of VMs to backup since it would slow down the process considerably.

              1 Reply Last reply Reply Quote 0
              • julien-fJ Offline
                julien-f Vates πŸͺ Co-Founder XO Team @olivierlambert
                last edited by

                @olivierlambert Yep, I think it's safe enough to turn on by default in the next release πŸ™‚

                1 Reply Last reply Reply Quote 1
                • olivierlambertO Offline
                  olivierlambert Vates πŸͺ Co-Founder CEO
                  last edited by

                  Great, so let's do that!

                  1 Reply Last reply Reply Quote 1
                  • onurO Offline
                    onur
                    last edited by

                    @olivierlambert said in Continuous Replication fails with VDI_IO_ERROR(Device I/O errors) on fresh XOA install after XenServer 7.2 -> XCP-ng 8.0 upgrade:

                    Xen Orchestra configuration

                    should I add "guessVhdSizeOnImport: true" to /opt/xen-orchestra/packages/xo-server/config.toml

                    1 Reply Last reply Reply Quote 0
                    • olivierlambertO Offline
                      olivierlambert Vates πŸͺ Co-Founder CEO
                      last edited by olivierlambert

                      To your config file, yes. Where this config file is depends on where do you installed Xen Orchestra (I suppose from the sources, so I can't guess where do you installed, could be anyware πŸ˜‰ )

                      edit: I think it's fixed now and integrated by default in the config

                      onurO 1 Reply Last reply Reply Quote 1
                      • onurO Offline
                        onur @olivierlambert
                        last edited by

                        @olivierlambert said in Continuous Replication fails with VDI_IO_ERROR(Device I/O errors) on fresh XOA install after XenServer 7.2 -> XCP-ng 8.0 upgrade:

                        To your config file, yes. Where this config file is depends on where do you installed Xen Orchestra (I suppose from the sources, so I can't guess where do you installed, could be anyware πŸ˜‰ )

                        edit: I think it's fixed now and integrated by default in the config

                        Great, this fix already is in the new version.
                        I was having this problem (Error: VDI_IO_ERROR(Device I/O errors)) and was not be able to do CR of my VMs but now CR works.
                        Thank you

                        PS: BTW that was my config file πŸ˜‰

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