Expanding a Virtual disk that is mapped to a Windows 2000 host Expanding VDisks

This topic includes step-by-step instructions for expanding a virtual disk (VDisk) that is mapped to a Windows 2000 host.

Prerequisites

Vdisks that are in participating in Flash Copy mappings or in Remote Copy relationships cannot be expanded.

Ensure that you have run Windows Update and have applied all recommended updates to your system prior to attempting to expand a VDisk that is mapped to a Windows 2000 host

Determine the exact size of the source or master VDisk by issuing the following command-line interface (CLI) command:

svcinfo lsvdisk -bytes <vdiskname>
Context

This feature can be used in two ways:

VDisks can be expanded under Windows 2000 concurrently with I/O operations.

Steps

Perform the following steps to expand a VDisk that is mapped to a Windows 2000 host:

  1. Expand the VDisk using either of the following methods:
    • From the Work with VDisks panel, select the VDisk and select the Expand task. Enter the capacity by which you wish to extend this VDisk and the select the appropriate units. Select one, more, or all of the MDisks from the list. These will be the MDisks that provide the extra capacity. Optionally, select the format checkbox if you want this extra capacity to be formatted before use.
    • From the command prompt issue the following command:
      svctask expandvdisksize
  2. On the Windows Host, start the Computer Management application and open the Disk Management window under the Storage branch.
Result

You will see the VDisk that you expanded now has some unallocated space at the end of the disk.

Dynamic disks can be expanded without stopping I/O operations in most cases. However, in some applications the operating system may report I/O errors. When this problem occurs, either of the following entries may be recorded in the System event log:

Event Type: Information
Event Source: dmio
Event Category: None 
Event ID: 31 
Description: dmio: 
Harddisk0 write error at block ######## due to
disk removal

Event Type: Information
Event Source: dmio
Event Category: None
Event ID: 34 
Description: dmio:
Harddisk0 is re-online by PnP
Attention: Attention: This is a known problem with Windows 2000 and is documented at the Microsoft knowledge base as article Q327020. If either of these errors are seen, run Windows Update and apply the recommended fixes to resolve the problem.
Post-processing requirements

Restart the Computer Management application if it was opened prior to expanding the VDisk.

If the disk is a Windows basic disk you can create a new primary or extended partition from the unallocated space.

If the disk is a Windows dynamic disk you can use the unallocated space to create a new volume (simple, striped, mirrored) or add it to an existing volume.

Related topics Expanding VDisks

(C) Copyright International Business Machines Corporation 2003, 2004