How to Resize Personal vDisk (PvD)

How to Resize Personal vDisk (PvD)

book

Article ID: CTX133400

calendar_today

Updated On:

Description

This article describes how to resize the Personal vDisk (PvD).


Instructions

To resize single or multiple PvD, complete the corresponding procedure.

Procedure for resizing a single PvD

Note: You cannot resize PvDs on Windows XP machines hosted on VMware ESX using this technique.

Complete the following procedure to resize a single PvD:

  1. Validate the machine containing the PvD is shutdown and configured to be in maintenance mode.

  2. Use the hypervisor console (XenCenter, System Center Virtual Machine Manager, etc) to locate the machine containing the PvD to be resized.

  3. Select the Storage tab or Configuration pane, as appropriate for the console in use (to display disks attached to that machine or virtual machine).

  4. Resize the PvD disk to the desired size using the hypervisor console.

  5. Remove the machine from maintenance mode. Resizing takes effect the next time the machine is switched on.

Procedure for Resizing all the PvDs in a Catalog

The following points must be taken care while resizing the PvD:

  • A PowerShell script is included in this release that allows you to resize all the 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 switched on.

  • You cannot resize PvDs on 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:

Complete the following procedure to resize all the PvDs in a catalog:
  1. Put the machines in the catalog into maintenance mode.

  2. Locate the script resize-personal-vdiskpool.ps1 in the Support\Tools\Scripts folder of the full or upgrade image.

  3. On the Desktop Delivery Controller machine, start a PowerShell command prompt.

  4. Run the script and select the catalog whose personal vDisks you want to resize and accept default options for storage location and thin provisioning options. If a script “signing error” occurs, run the command Set-ExecutionPolicy RemoteSigned  from the PowerShell command prompt to dismiss it.

    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.

  5. Type the new size for the personal vDisks. The minimum is 3 gigabytes (GB). Additional space might be required for user applications and data.

  6. When prompted, confirm the selections you made.

  7. Type the administrator's user name and password.

The personal vDisks in the catalog are resized in all applicable places and the machines they are attached to are restarted. When disk preparation is complete, the machines are shut down. This process might take several minutes to complete.

Note: After execution, the script lists the machines whose vDisks could not be resized. Check the power state of these machines, and rerun the script to complete the resizing operation on the remaining machines in the catalog.

Issue/Introduction

This article describes how to Resize Personal vDisk (PVD).

Additional Information

Citrix Documentation - Manage Personal vDisks