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

    Restore VM after hypervisor crash / WRITE EPIPE - IMPORT_INCOMPATIBLE_VERSION()

    Scheduled Pinned Locked Moved Backup
    5 Posts 2 Posters 68 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.
    • anivardA Offline
      anivard
      last edited by

      Hello,

      After a crash server, only disk system.
      I reinstalled XCP-NG.
      To restore my VM, I have to install XO, done.
      But after that, I can't restore a VM through XO.

      I need to restore my Firewall to have the correct setting of my network but I have WRITE EPIPE. My server and my backup NAS are on the same subnet with the correct access right.

      I would like also restore my old XOA because of settings are on it but IMPORT_INCOMPATIBLE_VERSION()
      PS: I backup the XOA configuration via the backup process in XO.

      I attached the log because I don't understand why after a complete reinstall of an hypervisor, it's difficult to restart from backup.
      firewall.txt
      xoa.txt

      anivardA 1 Reply Last reply Reply Quote 0
      • anivardA Offline
        anivard @anivard
        last edited by

        Hello again,

        I don't know what's happend but now I can restore my VM!

        Before this success, I reinstalled with 2 VM and I created a DR job to replicate my DR VM on my NAS. Perhaps, it's unlock something.

        Now, I try to mount my ZFS volume but no success...

        SR_BACKEND_FAILURE_61(, File SR creation error, )
        

        I re-imported the zpool with this command :

        zpool import -a
        

        I can this status pool is good and I can this all VHD files.

        This is my new "fight" ! 😉

        anivardA 1 Reply Last reply Reply Quote 0
        • anivardA Offline
          anivard @anivard
          last edited by

          I try 2 things :

          1/ Create SR when the zfs pool is mount

          zpool import -a
          

          Via the XO NEW + STORAGE > ZFS

          "SR_BACKEND_FAILURE_61(, File SR creation error, )"
          

          2/ Create SR when the zfs pool is unmount
          After the

          zpool import -a
          
          umount /mntzpool
          

          Via command line on XCP-ng server

          xe sr-create host-uuid=4dab3683-0cbf-4b01-a2fb-49989171c596 type=zfs content-type=user name-label=Local4TBraidz device-config:location=/local4TBraidz/
          
          Error code: SR_BACKEND_FAILURE_202
          Error parameters: , General backend error [opterr=Command ['findmnt', '-o', 'FSTYPE', '-n', '/local4TBraidz/'] failed (): Operation not permitted],
          

          I need to find out what's going on...

          anivardA 1 Reply Last reply Reply Quote 0
          • anivardA Offline
            anivard @anivard
            last edited by

            The update on the host are ok.
            I reboot the host and the zpool is already mounted.

            I try via the XO NEW + STORAGE > ZFS
            Same error as before!

            message "SR_BACKEND_FAILURE_61(, File SR creation error, )"
            name "XapiError"
            stack "XapiError: SR_BACKEND_FAILURE_61(, File SR creation error, )\n at Function.wrap (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_XapiError.mjs:16:12)\n at file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/transports/json-rpc.mjs:38:21\n at runNextTicks (node:internal/process/task_queues:60:5)\n at processImmediate (node:internal/timers:454:9)\n at process.callbackTrampoline (node:internal/async_hooks:130:17)"

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

              Adding @team-storage in the conversation

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