Unable to create an SR from a CIFS share containing DFS Targets. When trying to create the SR XenCenter gives an error:
Unable to mount the directory specified in device configuration request
The following errors can be seen in the logs:
daemon.log
Apr 6 10:35:04 dubvdodxa65-5 cifs.upcall: unable to resolve hostname: DUBVDODDC1 [Name or service not known]
Apr 6 10:35:04 dubvdodxa65-5 kernel: [ 7529.609061] CIFS VFS: cifs_mount failed w/return code = -6
Apr 6 10:35:04 dubvdodxa65-5 SM: [6904] FAILED in util.pread: (rc 32) stdout: '', stderr: 'Retrying with upper case share name Apr 6 10:35:04 dubvdodxa65-5 SM: [6904] mount error(6): No such device or address Apr 6 10:35:04 dubvdodxa65-5 SM: [6904] Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) Apr 6 10:35:04 dubvdodxa65-5 SM: [6904] ' Apr 6 10:35:04 dubvdodxa65-5 SM: [6904] Raising exception [222, Could not mount the directory specified in Device Configuration] Apr 6 10:35:04 dubvdodxa65-5 SM: [6904] ***** generic exception: sr_create: EXCEPTION SR.SROSError, Could not mount the directory specified in Device Configuration
Apr 6 10:35:04 dubvdodxa65-5 xapi: [debug|dubvdodxa65-5|656 INET :::80|sm_exec D:28087f50af6d|dispatcher] Server_helpers.exec exception_handler: Got exception SR_BACKEND_FAILURE_222: [ ; Could not mount the directory specified in DeviceConfiguration; ]
# xe pif-param-set uuid=<management-pif-uuid> other-config:domain=suffix1.com
# xe pif-reconfigure-ip uuid=<management-pif-uuid>
# cat /etc/resolv.conf search suffix1.com nameserver 10.20.30.1 nameserver 10.30.30.2