According to several sources, the cache option for Microsoft’s Network File System (NFS) client should be configured in the registry. We’ve tested this in our Azure account and recommend the following steps to produce a lookupcache=none output:
- Open the registry (regedit) and navigate to:
HKEY_LOCAL_MACHINE_SoftwareMicrosoftClientForNFSCurrentVersionUsersDefault
- Navigate to New > select Key, and type: cache
- Right click on:
HKEY_LOCAL_MACHINE_SoftwareMicrosoftClientForNFSCurrentVersionUsersDefaultCache -> New -> DWORD
- Type FileAttributeCache and set value to 0
- Right click on:
HKEY_LOCAL_MACHINE_SoftwareMicrosoftClientForNFSCurrentVersionUsersDefaultCache -> New -> DWORD
- Type RemoteWriteCache and set the value to 0
- Restart the NFS client service for these changes to take effect
Note: This operation must be performed on each of your Artifactory nodes.