Unable to access CIFS shares after SVM migration using snapmirror
Applies to
- ONTAP 9
- Snapmirror
- CIFS
Issue
- Users are unable to access the CIFS share drives via Windows File Explorer at DR cluster after an SVM level migration
- Below error is seen at the Windows end
- Identity preserve option was set to True while creating snapmirror which replicates all source vserver configuration including DNS configuration to the destination vserver.
KULNAS1200001::> snapmirror show -destination-path testpath -fields vserver,type,schedule,policy,identity-preserve
source-path destination-path type vserver schedule policy identity-preserve
----------- ---------------- ---- -------- -------- -------------------------------- -----------------
SVMDR: testpath: XDP SVMPDR hourly MirrorAllSnapshotsDiscardNetwork true
- From secd logs it is confirmed that DR is trying to communicate with the DNS server set for the primary site:
2022-11-12T06:00:38+08:00 Cluster-02 error secd.cifsAuth.problem: vserver (SVMDR) General CIFS authentication problem. Error: User authentication procedure failed\nCIFS SMB2 Share mapping - Client Ip = xx.xx.xx.xx\n [ 0 ms] Login attempt by domain user 'APAC\\User1' using NTLMv2 style security\n [ 5] Failed to connect to xx.xx.xx.xx for DNS: Network is unreachable\n [ 5] Failed to connect to xx.xx.xx.xx for DNS: Network is unreachable\n**[ 7] FAILURE: Unable to contact DNS to discover domain controllers.\n [ 7] Unable to make a connection (NetLogon:APAC.NET.INTRA), result: 6812\n [ 7] CIFS authentication failed\n
- EMS log:
[?] Sat Nov 26 01:24:48 0800 [Cluster-02: secd: secd.netlogon.noServers:EMERGENCY]: None of the Netlogon servers configured for Vserver (SVMDR) are currently accessible via the network.