Even after selecting “cache is on device hard drive”, cache is getting stored on the Provisioning Service (PVS) server. The following screen shot shows the virtual disk status:
Caution! Refer to the Disclaimer at the end of this article before using Registry Editor.
Complete the following steps to fix the issue:
Validate the write cache disk is formatted with NTFS.
Partition created is using MBR and not GPT disk partitioning (PVS does not support GPT).
Ensure that the minimum amount of free space on the local drive is 500MB.
In case multiple drives are attached on the target, remove the drives to validate if the behavior still occurs.
For Windows 2012 targets devices, update the registry keys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BNIStack\parameters
DWORD WcHDInitRetryNumber: default 150, up to 200
DWORD WcHDInitRetryIntervalMs: default 100ms, up to 500ms
The following are some scenarios that cause the cache to redirect to the PVS server:
Improper formatting of the write cache drive.
Drive not meeting the minimum required size.
Windows 2012 target devices appear to take a longer time to initialize the disk and bnistack.