Hello All,
I had an issue remounting an NFS share after a reboot. I can access it from other machines and did not change anything from the NFS server side.
From my XCP host
[12:29 xcp-65 log]# rpcinfo -p 192.168.3.13
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100000 4 7 111 portmapper
100000 3 7 111 portmapper
100000 2 7 111 portmapper
100005 1 udp 774 mountd
100005 3 udp 774 mountd
100005 1 tcp 774 mountd
100005 3 tcp 774 mountd
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
[12:29 xcp-65 log]# xe sr-create type=nfs device-config:server=192.168.3.15 device-config:serverpath=/mnt/BC-SSDNAS-POOL-01 name-label=SSD host-uuid=078cd464-f728-4cd8-b091-c13db4f05f64
Error code: SR_BACKEND_FAILURE_108
Error parameters: , Unable to detect an NFS service on this target.,
tail -50 SMlog
Sep 2 12:53:37 xcp-65 SM: [20019] _testHost: Testing host/port: 192.168.3.15,2049
Sep 2 12:53:40 xcp-65 SM: [20019] _testHost: Connect failed after 5 seconds (192.168.3.15) - [Errno 113] No route to host
Sep 2 12:53:40 xcp-65 SM: [20019] Raising exception [108, Unable to detect an NFS service on this target.]
Sep 2 12:53:40 xcp-65 SM: [20019] lock: released /var/lock/sm/c381e5ce-a8f8-40ff-3755-fa26624606c6/sr
Sep 2 12:53:40 xcp-65 SM: [20019] ***** generic exception: sr_create: EXCEPTION <class 'SR.SROSError'>, Unable to detect an NFS service on this target.
[12:55 xcp-65 log]# ping 192.168.3.13
PING 192.168.3.13 (192.168.3.13) 56(84) bytes of data.
64 bytes from 192.168.3.13: icmp_seq=1 ttl=64 time=1.78 ms
64 bytes from 192.168.3.13: icmp_seq=2 ttl=64 time=0.160 ms
64 bytes from 192.168.3.13: icmp_seq=3 ttl=64 time=0.379 ms
64 bytes from 192.168.3.13: icmp_seq=4 ttl=64 time=0.374 ms
Any thoughts from the group here?
Just noticed when reviewing this post I am trying to connect to the wrong IP.
[12:29 xcp-65 log]# xe sr-create type=nfs device-config:server=192.168.3.15 device-config:serverpath=/mnt/BC-SSDNAS-POOL-01 name-label=SSD host-uuid=078cd464-f728-4cd8-b091-c13db4f05f64
Trying the correct IP now but it appears the command is just hanging. Going to let it run for a bit.
xe sr-create type=nfs device-config:server=192.168.3.13 device-config:serverpath=/mnt/BC-SSDNAS-POOL-01 name-label=SSD host-uuid=078cd464-f728-4cd8-b091-c13db4f05f64
And Fail…
[12:56 xcp-65 log]# xe sr-create type=nfs device-config:server=192.168.3.13 device-config:serverpath=/mnt/BC-SSDNAS-POOL-01 name-label=SSD host-uuid=078cd464-f728-4cd8-b091-c13db4f05f64
Error code: SR_BACKEND_FAILURE_73
Error parameters: , NFS mount error [opterr=Failed to detect NFS service on server 192.168.3.13]
Same basic log output.
Sep 2 13:25:19 xcp-65 SM: [30713] ***** generic exception: sr_create: EXCEPTION <class 'SR.SROSError'>, NFS mount error [opterr=Failed to detect NFS service on server 192.168.3.13]
Sep 2 13:25:19 xcp-65 SM: [30713] File "/opt/xensource/sm/SRCommand.py", line 110, in run
Sep 2 13:25:19 xcp-65 SM: [30713] return self._run_locked(sr)
Sep 2 13:25:19 xcp-65 SM: [30713] File "/opt/xensource/sm/SRCommand.py", line 159, in _run_locked
Sep 2 13:25:19 xcp-65 SM: [30713] rv = self._run(sr, target)
Sep 2 13:25:19 xcp-65 SM: [30713] File "/opt/xensource/sm/SRCommand.py", line 323, in _run
Sep 2 13:25:19 xcp-65 SM: [30713] return sr.create(self.params['sr_uuid'], long(self.params['args'][0]))
Sep 2 13:25:19 xcp-65 SM: [30713] File "/opt/xensource/sm/NFSSR", line 213, in create
Sep 2 13:25:19 xcp-65 SM: [30713] raise exn
Sep 2 13:25:19 xcp-65 SM: [30713]
Sep 2 13:25:19 xcp-65 SM: [30713] ***** NFS VHD: EXCEPTION <class 'SR.SROSError'>, NFS mount error [opterr=Failed to detect NFS service on server 192.168.3.13]
Seems to be related to The NIC. I got a DAC cable that let me connect via a 10GbE card and it allowed me to access the storage. The problem I have now is it doesn’t appear to have detected that it was an existing SR and doesn’t show any of the disks.
Well I was able to prove that I can connect to the NFS from this share via the old IP.
[19:46 xcp-65 log]# mount 192.168.3.13:/mnt/BC-SSDNAS-POOL-01 /tmp/ihatethis/
[19:47 xcp-65 log]# ls /tmp/ihatethis/
8e52420b-a929-120a-708b-5620735477c5 955bd13d-b972-c536-7d13-e08f9bad33ca f8f82d42-3194-eabd-bb92-c77d06dab8ad ISO
Now down to it being a config issue.