I'm experiencing an issue where the PVS write cach...
# citrix-provisioning
n
I'm experiencing an issue where the PVS write cache file is growing excessively, consuming too much space on the drive. Does anyone have suggestions on how to track what is using up space on a PVS write cache drive? I know I can use Process Monitor to identify the cause, but I can't run it all day on my target devices. I found the script below, which I can set up as a scheduled task to trigger when the drive space drops below a certain threshold, but I wanted to see if anyone had other recommendations. # Set threshold (in GB) $thresholdGB = 2 $drive = "D:" $logPath = "\\fileserver\ProcMonLogs\" $procmonPath = "C:\Tools\Procmon.exe" # Update with your actual path # Check free space $freeGB = (Get-PSDrive $drive.TrimEnd(':')).Free / 1GB if ($freeGB -lt $thresholdGB) { $timestamp = Get-Date -Format "yyyyMMdd_HHmmss" $output = "$logPath$($env:COMPUTERNAME)_$timestamp.pml" # Start ProcMon with filter for D: and WriteFile operations, run for 10 minutes Start-Process -FilePath $procmonPath -ArgumentList "/Minimized /Quiet /Backingfile $output /Filter Path BEGINS $drive\ Operation IS WriteFile /Terminate /Runtime 600" }
b
There you go --> Disk Monitor Overview
j
AV CheckPoint was filling up our WC but I couldn't see it in procmon.
b
Citrix File based UPM, AV, Windows Updates ecc... Everything which logs/writes to the C:\ drive. Also, very important, how is the RAM on your vDisk sized? Default is 64 MB...
s
Ive used Nirsoft folder changes view.
n
i can't get security to approve running the control up tool. so i'll have to use process mon.
s
Correct. You need to filter by writes on C drive
n
thanks
i think i found the issue. they FSLogix is configured for cloud cache. I am not able to run process mon yet but when i run resource monitor i see a lot of write from the profile containers saved on c:\program date\fslogix\cache which is by design. Not sure what to do here. maybe they just need to increase their disk size...
m
If using FSLogix CloudCache with PVS and/or MCS(IO) make sure to redirect the Caches to WriteCache drive. CacheDirectory https://learn.microsoft.com/en-us/fslogix/reference-configuration-settings?tabs=ccd#cachedirectory WriteCacheDirectory https://learn.microsoft.com/en-us/fslogix/reference-configuration-settings?tabs=ccd#writecachedirectory I suggest baking both into the GoldenMaster