How to Configure lookupcache=none on an MS NFS Client
According to several sources, thecacheoption for Microsoft’sNetwork File System(NFS) client should be configured in theregistry. We’ve tested this in ourAzure account and recommend the following steps to produce alookupcache=noneoutput:
- Open the registry (regedit) and navigate to:
HKEY_LOCAL_MACHINE_SoftwareMicrosoftClientForNFSCurrentVersionUsersDefault
- Navigate toNew > select Key, and type: cache
- Right click on:
HKEY_LOCAL_MACHINE_SoftwareMicrosoftClientForNFSCurrentVersionUsersDefaultCache -> New -> DWORD
- TypeFileAttributeCacheand set value to0
- Right click on:
HKEY_LOCAL_MACHINE_SoftwareMicrosoftClientForNFSCurrentVersionUsersDefaultCache -> New -> DWORD
- TypeRemoteWriteCacheand set the value to0
- Restart theNFS client servicefor these changes to take effect
Note: This operation must be performed on each of your Artifactory nodes.
