CIFS share access will fail if the share-path points to a nonexistent directory
Applies to
- ONTAP 9
- CIFS client
- FlexCache
Issue
- Error such as that below may show up in EMS indicating that the directory backing the share does not exist / no longer exists
- Example EMS error:
Fri Jan 10 17:02:54 -0800 [dc6-cdot17-02: kernel: Nblade_cifsShrConnectFailed_1:error]: params: {'vserverName': 'Cluster1-svm1, 'vserverId': '4', 'errorDescription': 'No such object', 'errorCode': '2', 'shareName': 'cifs-share01', 'domainWinUserName': 'winuser1@domain.com', 'unixUserName': 'root', 'serverIp': '172.17.0.1, 'clientIp': '172.16.0.101'} - CIFS share was created to a Flexcache volume
- CIFS share creation does not perform backing directory validation when the directory is in a flexcache volume's namespace
- This makes sense, because a flexcache volume may not contain all files / directories present on the origin volume
