This article describes how to resize the Personal vDisk (PvD).
The following points should be kept in mind while resizing the PvD:
- A PowerShell script is included in this release that allows you to resize existing personal vDisks in a catalog. The script iterates through the machines in the catalog, changing the size where possible. Resizing takes effect the next time the machines are turned on.
- You cannot resize Windows XP machines hosted on VMware ESX using the script.
- Do not use the script to manage existing environments in other ways. Use Desktop Studio or Provisioning Services for other management operations.
- Before following this procedure, determine the current size of the personal vDisks and choose a new size. In addition, the following PowerShell snapins must be installed on the computer running the script:
- XenServer deployments require XenServerPSSnapIn. This is available in the XenServer Software Development Kit (SDK) or from http://community.citrix.com/display/xs/Download+SDKs.
- VMware ESX deployments require VMware vSphere PowerCLI. This is available from http://www.vmware.com/support/developer/PowerCLI.
- Microsoft System Center Virtual Machine Manager deployments require the Virtual Machine Manager snapin. This is installed automatically when you install that component’s console.
the following procedure to resize the PvD:
- Put the machines in the catalog into maintenance mode.
- Locate the script resize-personal-vdiskpool.ps1 in the SupportToolsScripts folder of the full or upgrade image.
- At a command prompt, run the script and select the catalog whose personal vDisks you want to resize. If a script error occurs, dismiss it by running Set-ExecutionPolicy RemoteSigned.
Note: If you do not have full administrator rights in Desktop Studio and you are using a 64-bit system, run the script from a 32-bit PowerShell administrator command prompt.
- Accept the defaults for the storage location and, if displayed, the decision on thin provisioning.
- The script displays these properties, which you should not change.
- Enter the new size for the personal vDisks. The minimum is 3 gigabytes (GB). Additional space may be required for user applications and data.
- When prompted, confirm the selections you made.
- Enter the administrator’s user name and password.
- Wherever possible, the personal vDisks in the catalog are resized and the machines they are attached to is restarted. When disk preparation is complete, the machines shut down. This process might take several minutes to complete.
Note: The script lists the machines whose vDisks cannot be resized. Check the power state of these machines, and rerun the script to complete the resizing operation on the entire catalog.
You can read the original KB article here.