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

    Remote Connection Failed.

    Scheduled Pinned Locked Moved Xen Orchestra
    5 Posts 3 Posters 1.2k 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.
    • E Offline
      Evymartinez
      last edited by

      I tried adding a NAS for my delta backups but apparently it refuses to connect when adding it as a remote connection.

      This is the error I receive:
      "Command failed with exit code 32: mount -o vers=3 -t nfs 192.168.1.1:/mnt/LocalStorage/XCP_NG_Backups /run/xo-server/mounts/5edaab67-b6c6-4a39-9294-e30920b065d2 mount.nfs: Connection timed out"

      Storage server is running TrueNAS.

      1 Reply Last reply Reply Quote 0
      • jedimarcusJ Offline
        jedimarcus
        last edited by

        On the cli of your XCP-ng host, what does the following command output:

        showmount -e 192.168.1.1
        
        1 Reply Last reply Reply Quote 0
        • E Offline
          Evymartinez
          last edited by olivierlambert

          This is what I get when I do that command.

          [16:55 xcp-ng-MainServer ~]# showmount -e 192.168.1.1
          Export list for 192.168.1.1:
          /mnt/LocalStorage/XCP_NG_Backups 192.168.2.0
          /mnt/LocalStorage/XCP_NG         (everyone)
          
          1 Reply Last reply Reply Quote 0
          • E Offline
            Evymartinez
            last edited by olivierlambert

            I went on a head and tried different things now I am getting this error.

            remote.test
            {
              "id": "ee5b403b-0969-4c98-81f5-1b9b0cb20f99"
            }
            {
              "shortMessage": "Command failed with exit code 32: mount -o vers=3 -t nfs 192.168.1.1:/mnt/LocalStorage/XCP_NG_Backups /run/xo-server/mounts/ee5b403b-0969-4c98-81f5-1b9b0cb20f99",
              "command": "mount -o vers=3 -t nfs 192.168.1.1:/mnt/LocalStorage/XCP_NG_Backups /run/xo-server/mounts/ee5b403b-0969-4c98-81f5-1b9b0cb20f99",
              "exitCode": 32,
              "stdout": "",
              "stderr": "mount.nfs: requested NFS version or transport protocol is not supported",
              "failed": true,
              "timedOut": false,
              "isCanceled": false,
              "killed": false,
              "message": "Command failed with exit code 32: mount -o vers=3 -t nfs 192.168.1.1:/mnt/LocalStorage/XCP_NG_Backups /run/xo-server/mounts/ee5b403b-0969-4c98-81f5-1b9b0cb20f99
            mount.nfs: requested NFS version or transport protocol is not supported",
              "name": "Error",
              "stack": "Error: Command failed with exit code 32: mount -o vers=3 -t nfs 192.168.1.1:/mnt/LocalStorage/XCP_NG_Backups /run/xo-server/mounts/ee5b403b-0969-4c98-81f5-1b9b0cb20f99
            mount.nfs: requested NFS version or transport protocol is not supported
                at makeError (/opt/xo/xo-builds/xen-orchestra-202104031328/node_modules/execa/lib/error.js:59:11)
                at handlePromise (/opt/xo/xo-builds/xen-orchestra-202104031328/node_modules/execa/index.js:114:26)
                at NfsHandler._sync (/opt/xo/xo-builds/xen-orchestra-202104031328/@xen-orchestra/fs/src/_mount.js:64:7)
                at NfsHandler.sync (/opt/xo/xo-builds/xen-orchestra-202104031328/@xen-orchestra/fs/src/abstract.js:324:5)
                at _class2.getRemoteHandler (/opt/xo/xo-builds/xen-orchestra-202104031328/packages/xo-server/src/xo-mixins/remotes.js:75:9)
                at _class2.testRemote (/opt/xo/xo-builds/xen-orchestra-202104031328/packages/xo-server/src/xo-mixins/remotes.js:96:11)
                at Api.callApiMethod (/opt/xo/xo-builds/xen-orchestra-202104031328/packages/xo-server/src/xo-mixins/api.js:304:20)"
            }
            
            1 Reply Last reply Reply Quote 0
            • olivierlambertO Offline
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              This means your NFS server doesn't support NFSv3.

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