Expanding a volume that is mapped to a Microsoft Windows host by using the CLI

You can use the command-line interface (CLI) to expand the size of a volume that is mapped to a Microsoft Windows host.

Complete the following steps to expand a volume that is mapped to a Windows host:

  1. Enter the following CLI command to expand the volume:
    expandvdisksize -size disk_size -unit data_unitvdisk_name/vdisk_id
    Where
    • disk_size is the capacity by which you want to expand the volume.
    • b | kb | mb | gb | tb | pb is the data_unit to use with the capacity.
    • vdisk_name/vdisk_id is the name of the volume or the ID of the volume to expand.
  2. On the Windows host, start the Computer Management application and open the Disk Management window under the Storage branch.

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

You can expand dynamic disks without stopping I/O operations in most cases.

If the Computer Management application was open before you expanded the volume, use the Computer Management application to issue a rescan command.

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.