Shrinking virtual disks Virtual disks Virtual disk-to-host mappings

You can shrink a virtual disk (VDisk) from the Shrinking VDisks panel.

Context

VDisks can be reduced in size should it be required. However, if the VDisk contains data that is being used, under no circumstances should you attempt to shrink a VDisk without first backing up your data. The SAN Volume Controller arbitrarily reduces the capacity of the VDisk by removing a partial, one or more extents from those allocated to the VDisk. You cannot control which extents are removed and so you cannot guarantee that it is unused space that is removed.

Attention: Attention: This feature should only be used to make a target or auxiliary VDisk the same size as the source or master VDisk when creating FlashCopy mappings or Remote Copy relationships. You should also ensure that the target VDisk is not mapped to any hosts prior to performing this operation.
Steps

Perform the following steps to shrink a VDisk:

  1. Validate that the VDisk is not mapped to any host objects. If the VDisk is mapped, data is displayed.
  2. You can determine the exact capacity of the source or master VDisk. Issue the following command:
    svcinfo lsvdisk -bytes <vdiskname>
    Note:Note: It is not possible to determine the exact size using the SAN Volume Controller Console.
  3. Click Work with Virtual Disks from the portfolio.
  4. Click Virtual Disks from the portfolio. The Filtering Virtual Disks panel is displayed.
  5. Specify the filter criteria that you want to use. Click OK. The Virtual Disks panel is displayed.
  6. Select the VDisk you want to shrink and select Shrink a VDisk from the list. Click Go. The Shrinking VDisks panel is displayed.
Related topics Virtual disks Virtual disk-to-host mappings

(C) Copyright International Business Machines Corporation 2003, 2004