CIFS access slow due to lnk files in a root or subdirectory of a volume
Applies to
- ONTAP 9
- Microsoft Windows
- CIFS
Issue
- User access to a directory and/or any subdirectory under that folder via Windows clients can exhibit slow performance
- Output from
qos statistics volume latency show
showed under 1-5 ms of latency - No errors are logged in
event log show
that point to obvious problems - This is more apparent on users further away from storage (VPN or WAN) than locally accessible machines
- There are many packets on .lnk files in a packet trace similar to below:
Create Request File: Windows (C) - Shortcut (3).lnk
Create Response File: Windows (C) - Shortcut (3).lnk
GetInfo Request SEC_INFO/SMB2_SEC_INFO_00 File: Windows (C) - Shortcut (3).lnk
GetInfo Response, Error: STATUS_ACCESS_DENIED
Read Request Len:518 Off:0 File: Windows (C) - Shortcut (3).lnk
Read Response
Create Request File: Windows (C) - Shortcut (4).lnk
Create Response File: Windows (C) - Shortcut (4).lnk
GetInfo Request SEC_INFO/SMB2_SEC_INFO_00 File: Windows (C) - Shortcut (4).lnk
GetInfo Response, Error: STATUS_ACCESS_DENIED
Read Request Len:518 Off:0 File: Windows (C) - Shortcut (4).lnk
Read Response
Create Request File: Windows (C) - Shortcut (5).lnk
Create Response File: Windows (C) - Shortcut (5).lnk