Accessing a Mounted File System is Slow or Fails After a Few Seconds
Learn how to troubleshoot delayed UNC access or Error 53 on a file system mounted using Windows NFS.
Before proceeding with troubleshooting, be sure to implement the following prerequisites for connecting to file systems from Windows instances:
- Install the NFS Client. Follow the installation procedure found in Mounting File Systems From Windows Instances.
- Set up security rules to work with File Storage. Follow the procedure found in Configuring VCN Security Rules for File Storage
Symptom 1: Accessing a mounted file system with File Explorer or Universal Naming Convention (UNC) path or Command Prompt/Powershell is significantly delayed or fails. The effect is intermittent.
Symptom 2 : Mount fails using Windows NFS connection with "Network Error 53 "Network path not found".
Cause: By default, Windows network providers have higher priority than the client for NFS network provider. Initially, the delay as Windows tries each provider in the default order is significant. Subsequent attempts may be faster because the mount information is cached. After the cache times out, the delay increases again. The native Windows file system client called Distributed File System (DFS) is also given default priority over NFS client, increasing the delay.
Solution: Change the network provider order and disable the DFS client so that the client for NFS Network provider is tried first.
For reference, see:
- Click Windows Search.
- Enter
regedit
in the Search field and press Enter. - Click Yes to allow changes to your device.
- Click
HKEY_LOCAL_MACHINE
. - Browse to:
System\CurrentControlSet\Control\NetworkProvider\Order
-
Change the
Network Provider
order from default to Nfsnp,RDPNP,LanmanWorkstation:- Right-click
ProviderOrder
, and select Modify. - In the Value Data field, enter
Nfsnp,RDPNP,LanmanWorkstation
. If there are any further items that exist in this field on your instance, enter them afterLanmanWorkstation
. - Click OK.
- Right-click
- Restart the instance.
- Click Windows Search.
- Enter
regedit
in the Search field and press Enter. - Click Yes to allow changes to your device.
- Click
HKEY_LOCAL_MACHINE
. - Browse to:
System\CurrentControlSet\Services\Mup.
-
Add a new DWORD32 registry entry for
DisableDfs
:- Click Edit, and select New DWORD (32 bit) Value.
- In the Name field, enter
DisableDfs
. - Right-click
DisableDFS
, and select Modify. - In the Value Data field, enter
1
. - Click OK.
- Restart the instance.