NFS ISO: Cannot read property 'Export' of undefined
-
Running the latest openSUSE Leap 15.4 as my IT Workstation to manage both my XCO-ng servers, etc,... and my NFS exports file look like this for one of the NFS ISO I'm trying to configure is:
/home/nasheayahu/Downloads/Iso/RHEL 10.60.70.0/24(ro,root_squash,sync,no_subtree_check) 10.70.70.0/24(ro,root_squash,sync,no_subtree_check)
and idmapd.conf
Verbosity = 0 Pipefs-Directory = /var/lib/nfs/rpc_pipefs Domain = kohanyim.com [Mapping] Nobody-User = nobody Nobody-Group = nobody
is there anything else I need to check to get this working?
-
Hang on, the recent post deals with Settings / Remotes, got off track by watching "Tutorial: Configuring Backups For XCP NG Using Xen Orchestra 2021" but, in doing so the posted change correct the initial problem, so I'm able to create a SR / {VDI, ISO} NFS.
So now dealing with the Remotes configuration, I would like to fix this so I can can configure for backups. Do I need to create a new post or can we continue from here?
-
Just an update: I am able to get SMB working, but I would like to have NFS ISO as well...
-
What do you have when you do a
showmount --exports <NFS SERVER IP>
from your host? -
@olivierlambert said in NFS ISO: Cannot read property 'Export' of undefined:
showmount --exports <NFS SERVER IP>
From XCP-ng:
clnt_create: RPC: Port mapper failure - Unable to receive: errno 113 (No route to host)
From XCP-ng - AlmaLinux VM:
clnt_create: RPC: Unable to receive
From NFS Server on Leap 15.4:
Export list for 10.60.70.45: /home/nasheayahu/Downloads/Iso/Pop!_OS 10.70.70.0/24,10.60.70.0/24 /home/nasheayahu/Downloads/Iso/RHEL 10.70.70.0/24,10.60.70.0/24 /home/nasheayahu/Downloads/Iso/MX-Linux 10.70.70.0/24,10.60.70.0/24 /home/nasheayahu/Downloads/Iso/AlmaLinux-9.0-x86_64 10.70.70.0/24,10.60.70.0/24
-
Update: well I have mounts showing in XCP-ng, I needed to add rpc-bind and mountd to Leaps firewall, however I need to fix the permission because its being denied:
remote.test { "id": "ed6bc7d7-8e3f-4d01-a57e-a9865a72c8ce" } { "shortMessage": "Command failed with exit code 32: mount -o -t nfs 10.60.70.45:2049:/run/media/Backup-I/XCP-ng-lab /run/xo-server/mounts/ed6bc7d7-8e3f-4d01-a57e-a9865a72c8ce", "command": "mount -o -t nfs 10.60.70.45:2049:/run/media/Backup-I/XCP-ng-lab /run/xo-server/mounts/ed6bc7d7-8e3f-4d01-a57e-a9865a72c8ce", "escapedCommand": "mount -o \"\" -t nfs \"10.60.70.45:2049:/run/media/Backup-I/XCP-ng-lab\" \"/run/xo-server/mounts/ed6bc7d7-8e3f-4d01-a57e-a9865a72c8ce\"", "exitCode": 32, "stdout": "", "stderr": "mount.nfs: access denied by server while mounting 10.60.70.45:2049:/run/media/Backup-I/XCP-ng-lab", "failed": true, "timedOut": false, "isCanceled": false, "killed": false, "message": "Command failed with exit code 32: mount -o -t nfs 10.60.70.45:2049:/run/media/Backup-I/XCP-ng-lab /run/xo-server/mounts/ed6bc7d7-8e3f-4d01-a57e-a9865a72c8ce mount.nfs: access denied by server while mounting 10.60.70.45:2049:/run/media/Backup-I/XCP-ng-lab", "name": "Error", "stack": "Error: Command failed with exit code 32: mount -o -t nfs 10.60.70.45:2049:/run/media/Backup-I/XCP-ng-lab /run/xo-server/mounts/ed6bc7d7-8e3f-4d01-a57e-a9865a72c8ce mount.nfs: access denied by server while mounting 10.60.70.45:2049:/run/media/Backup-I/XCP-ng-lab at makeError (/opt/xo/xo-builds/xen-orchestra-202207160304/node_modules/execa/lib/error.js:60:11) at handlePromise (/opt/xo/xo-builds/xen-orchestra-202207160304/node_modules/execa/index.js:118:26) at NfsHandler._sync (/opt/xo/xo-builds/xen-orchestra-202207160304/@xen-orchestra/fs/src/_mount.js:64:7)" }
Folder permission on Leap:
chown -R nobody: /run/media/Backup-I/XCP-ng-lab/ chmod -R 777 /run/media/Backup-I/XCP-ng-lab/
-
Hang on, the recent post deals with Settings / Remotes, got off track by watching "Tutorial: Configuring Backups For XCP NG Using Xen Orchestra 2021" but, in doing so the posted change correct the initial problem, so I'm able to create a SR / {VDI, ISO} NFS.
So now dealing with the Remotes configuration, I would like to fix this so I can can configure for backups. Do I need to create a new post or can we continue from here?
-
Let's consider this thread fixed by adding the correct NFS configuration on the server side and create a new one describing your issue.
-
@olivierlambert said in NFS ISO: Cannot read property 'Export' of undefined:
Let's consider this thread fixed by adding the correct NFS configuration on the server side and create a new one describing your issue.
-
-
-