Automatically Defrag your Citrix PVS vDisks

Automatically Defrag your Citrix PVS vDisks

2016-04-19
/ /
in Blog
/

Here is a script to automate ‘offline defragging’ your PVS vDisks.  Why Defrag?  It’s explained nicely here.

Effects of Fragmentation on Write Cache Size
The culprit above in excessive write cache size is fragmentation. This is caused because PVS redirection is block based and not file based. The redirection to the write cache is based on the logical block level structure of the vDisk. To illustrate this, consider the scenario below.

And the script:

 

One Comment

  1. Oscar 2016-05-11 8:15 am

    Nice script! I am sure I will try it out. Many thanxs! I think it took you many hours to build this script.

    Reply

Leave a Reply to Oscar Cancel reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.