Run a backup of a VM in XO to a remote NFS share on a Synology device A.
Use Synology’s Hyper Backup to back the NFS share folder on Synology A device onto another Synology device B
Power down XO.
Delete the folder on Synology A that contained XO’s backup (simulating losing our XO backups).
Restore the backup folder on Synology A from Hyper Backups stored on Synology device B.
Power up XO VM and check on the status of NFS remotes: all remotes on Synology A are off line.
Log shows:
Command failed with exit code 32: mount -o -t nfs optinas1:/volume1/test_nfs_share /run/xo-server/mounts/c9966433-081a-4d59-b109-3dbe9b054ad4
mount.nfs: access denied by server while mounting optinas1:/volume1/test_nfs_share
However, executing:
sudo mount -t nfs optinas1:/volume1/test_nfs_share /var/test_nfs_share
on a POP!_OS VM is successful. (POP!_OS is a Ubuntu variant)
Now, ssh to XO and execute:
sudo mount -v -t nfs optinas1:/volume1/test_nfs_share /run/xo-server/mounts/c9966433-081a-4d59-b109-3dbe9b054ad4
Gives:
mount.nfs: timeout set for Fri Aug 26 17:29:08 2022
mount.nfs: trying text-based options 'vers=4.2,addr=172.22.1.49,clientaddr=172.22.1.42'
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting optinas1:/volume1/test_nfs_share
After restarting the NFS service on Synology A and executing on XO:
xo@xo-ce:~$ sudo mount -v -t nfs optinas1:/volume1/test_nfs_share /run/xo-server/mounts/c9966433-081a-4d59-b109-3dbe9b054ad4
mount.nfs: timeout set for Fri Aug 26 17:41:49 2022
mount.nfs: trying text-based options 'vers=4.2,addr=172.22.1.49,clientaddr=172.22.1.42'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'vers=4.1,addr=172.22.1.49,clientaddr=172.22.1.42'
xo@xo-ce:~$
The NFS shares work just fine now.
Maybe the NFS components in XO are a bit out of date?
I'm using: Xen Orchestra, commit 82452
xo-server 5.98.1, xo-web 5.100.0