Remote Connection Failed.
-
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.
-
On the cli of your XCP-ng host, what does the following command output:
showmount -e 192.168.1.1
-
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)
-
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)" }
-
This means your NFS server doesn't support NFSv3.