Optimize the network access
Since the SMB2 Client Redirector Cache was introduced in SMB 2.0 (Windows-network layer), caching-issues can occur, if d.ecs storage manager is accessing the Jukebox-directories (e.g. in the d.3 document tree) via the network (UNC-share).
It can happen that files do not exist on the share according to Microsoft Windows, although they are visible on the server itself. As a result, STORE jobs may encounter the error “Document not found” during d.ecs storage manager secondary storage, because d.ecs storage manager expects a specific file in the directory but this is currently reported as non existent. This is due to the SMB2 Client Redirector Cache which was introduced with Microsoft Windows Vista / Microsoft Windows Server 2008.
This cache is by default only updated every 10 seconds which has the effect that the visible folder content is not always up-to-date. Since d.ecs storage manager is relying on the correct representation of the folder content, a specific parameter must be set in the registry.
To open the registry editor, select Start > Run and execute the command regedit. The parameter DirectoryCacheLifetime to be set is located under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Lanmanworkstation\Parameters Set the parameter to the value “0” to disable this cache. It may happen that the key DirectoryCacheLifetime does not exist. This must then be created manually as a DWORD-value (32-bit).
Having set the parameter in the registry, you must restart the machine for the change to take effect.
Detailed information on this subject by Microsoft can be found under the subject "SMB2 Client Redirector Caches Explained".