Open ArmanJakupovic opened 3 years ago
Some commands are incorrect here.
First, to see if SR probe works, just enter:
xe sr-probe type=nfs device-config:server=192.168.92.42
Please paste the result.
Then, xe sr-probe type=nfs device-config:server=192.168.92.42:/volume1/docker-restrictive
is incorrect. You must split parameters with server
and serverpath
. In your case:
xe sr-probe type=nfs device-config:server=192.168.92.42 device-config:serverpath=/volume1/docker-restrictive
And because nothing is returned, means that's OK. So now you can create the SR with those parameters with sr-create
command:
xe sr-create content-type=user shared=true name-label=NFS host-uuid=<HOST_UUID> type=nfs device-config:server=192.168.92.42 device-config:serverpath=/volume1/docker-restrictive
First, to see if SR probe works, just enter:
xe sr-probe type=nfs device-config:server=192.168.92.42
Please paste the result.
# xe sr-probe type=nfs device-config:server=192.168.92.42
Error code: SR_BACKEND_FAILURE_101
Error parameters: , The request is missing the serverpath parameter,
Then,
xe sr-probe type=nfs device-config:server=192.168.92.42:/volume1/docker-restrictive
is incorrect. You must split parameters withserver
andserverpath
. In your case:xe sr-probe type=nfs device-config:server=192.168.92.42 device-config:serverpath=/volume1/docker-restrictive
And because nothing is returned, means that's OK.
I see, I've not tried creating it through the CLI, only through Xen Orchestra from sources. I'll try through CLI and get back to you.
@olivierlambert - I've tried adding through the CLI and it worked like a charm. No issues whatsoever, I can also see the new storage in xen orchestra.
I am unable to add any new NFS SRs. When I first setup the server I did add two shares and they are still connected and working. Adding more from the same Synology NAS doesn't work. I am able to ping the IP.