Setting up NFS target for backup was successful using a separate NFS server.
I want to change now NFS to my localhost (well, being not best practice, but in my case useful).
NFS server is running and manual mount via shell is successful (138.201.199.xxx is my localhost).
Changing NFS target in Longhorn shows following:
2020-06-11T05:53:27.363339046+02:00 time=“2020-06-11T03:53:27Z” level=error msg=“Error in request: error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.0.0/longhorn [backup ls --volume-only nfs://138.201.199.xxx:/longhorn], output Cannot mount nfs 138.201.199.xxx:/longhorn: Failed to execute: mount [-t nfs4 138.201.199.xxx:/longhorn /var/lib/longhorn-backupstore-mounts/138_201_199_xxx/longhorn], output mount.nfs4: access denied by server while mounting 138.201.199.xxx:/longhorn\n, error exit status 32\n, stderr, time="2020-06-11T03:53:27Z" level=error msg="Cannot mount nfs 138.201.199.xxx:/longhorn: Failed to execute: mount [-t nfs4 138.201.199.xxx:/longhorn /var/lib/longhorn-backupstore-mounts/138_201_199_xxx/longhorn], output mount.nfs4: access denied by server while mounting 138.201.199.xxx:/longhorn\n, error exit status 32"\n, error exit status 1”
I checked many times and could not find the issue.
/var/lib/longhorn-backupstore-mounts/138_201_199_xxx/longhorn
exists and has all permissions. Any idea from your side?