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

    Remote I used for backup not connecting

    Scheduled Pinned Locked Moved Backup
    10 Posts 2 Posters 665 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.
    • D Offline
      Dean50
      last edited by olivierlambert

      I am backing up to a REMOTE NFS share I had previously configured. It was working fine. It stopped working for some reason. The remote is on a TrueNAS Scale box. The only thing I did was add a sub folder within the original vmbackup folder for acronis to store backups in. I tried removing the NFS share and recreating it as it's own folder with no sub folders. Still rejecting connection. This is the log file after the recreation of the new NFS share. Any insight would be great. Thanks.

      remote.test
      {
        "id": "80bb9ed6-e221-44b3-8cee-e54a1d48a1d4"
      }
      {
        "shortMessage": "Command failed with exit code 32: mount -o  -t nfs 10.0.0.102:/mnt/strong-house/xobackups /run/xo-server/mounts/80bb9ed6-e221-44b3-8cee-e54a1d48a1d4",
        "command": "mount -o  -t nfs 10.0.0.102:/mnt/strong-house/xobackups /run/xo-server/mounts/80bb9ed6-e221-44b3-8cee-e54a1d48a1d4",
        "escapedCommand": "mount -o \"\" -t nfs \"10.0.0.102:/mnt/strong-house/xobackups\" \"/run/xo-server/mounts/80bb9ed6-e221-44b3-8cee-e54a1d48a1d4\"",
        "exitCode": 32,
        "stdout": "",
        "stderr": "mount.nfs: Protocol not supported",
        "failed": true,
        "timedOut": false,
        "isCanceled": false,
        "killed": false,
        "message": "Command failed with exit code 32: mount -o  -t nfs 10.0.0.102:/mnt/strong-house/xobackups /run/xo-server/mounts/80bb9ed6-e221-44b3-8cee-e54a1d48a1d4
      mount.nfs: Protocol not supported",
        "name": "Error",
        "stack": "Error: Command failed with exit code 32: mount -o  -t nfs 10.0.0.102:/mnt/strong-house/xobackups /run/xo-server/mounts/80bb9ed6-e221-44b3-8cee-e54a1d48a1d4
      mount.nfs: Protocol not supported
          at makeError (/opt/xen-orchestra/node_modules/execa/lib/error.js:60:11)
          at handlePromise (/opt/xen-orchestra/node_modules/execa/index.js:118:26)
          at NfsHandler._sync (/opt/xen-orchestra/@xen-orchestra/fs/src/_mount.js:68:7)"
      }
      

      Not sure why it would say Protocol not supported.

      I have another NFS share that holds my ISO's that is setup the same and works fine.
      30370425-2dea-4121-886d-5cde759be11c-image.png
      e1bb4f8f-ebca-459a-b403-52ed170fca47-image.png

      XCP-ng 8.3 running on a SuperMicro Server

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

        It's hard to tell anything if we don't know if you use XOA or XO from the sources…

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          Dean50 @olivierlambert
          last edited by

          @olivierlambert Sorry - I am using XO from sources.

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

            Can you manually mount the share in your XO operating system?

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              Dean50 @olivierlambert
              last edited by

              @olivierlambert I tried this....sudo mount 10.0.0.102:/mnt/strong-house/xobackup

              mount: can't find 10.0.0.102:/mnt/strong-house/xobackup in /etc/fstab

              I'm sure I'm missing something simple. Thanks.

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

                Have you installed NFS client packages in your XO operating system?

                D 1 Reply Last reply Reply Quote 0
                • D Offline
                  Dean50 @olivierlambert
                  last edited by

                  @olivierlambert No...I've never needed to. Everything just worked. I currently have another remote NFS share attached to another TrueNAS Core Server and it connects fine.

                  72d625e2-44e4-473c-b178-fd0053fd7ecc-image.png

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

                    Without any NFS client, I don't think you could even mount any NFS storage (so maybe it was installed by default in your distro.

                    Try to mount manually the working NFS remote. If it works (it should), you might want to compare the NFS params between the 2 shares, to understand why the 2nd one doesn't work. It's not even a Xen Orchestra issue, but a environment/configuration issue.

                    D 1 Reply Last reply Reply Quote 0
                    • D Offline
                      Dean50 @olivierlambert
                      last edited by

                      @olivierlambert Thank you very much I will give it a try. I tried building XO from source following some videos on YouTube. I get so far and some dependencies have been deprecated and won’t work. Do you know of a working instruction for building from source? Thanks.

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

                        Our official doc is the right place 😉

                        https://xen-orchestra.com/docs/installation.html#from-the-sources

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