Extending Windows file systems

Last updated: 2019-10-17 15:24:34

PDF

Scenario

After expanding a cloud disk, you need to either assign the expanded capacity to an existing partition, or format it into an independent new partition.

If you expand a cloud disk when it is mounted to a running CVM, you need to Rescan Disk to recognize the disk capacity after expansion.
If you expand a cloud disk when it is not yet mounted or mounted to a CVM that is shut down, the disk capacity after expansion will be automatically recognized.

Notes

  • Extending the file system may affect existing data. We strongly recommend that you manually [create a snapshot] to back up your data before performing the operation.
  • To extend the file system, you need to restart the instance or rescan the disk, which will lead to business interruption for a certain period. We recommend you choose an appropriate time for this operation.

Prerequisites

Directions

Rescanning the disk (optional)

  1. Open Computer Management.
  2. In the left sidebar, select Storage>Disk Management.
  3. Right click Disk Management, and select Rescan Disk, as shown in the following figure:
  4. After completing the scan, check whether the data disk has changed to the size after expansion (in this example, the scan shows that the cloud disk has expanded from 10GB to 50GB), as shown in the following figure:

Extending Volumes

  1. Right click any white area of the disk space. Select Extend Volume.
  2. Follow the Extend Volume Wizard to extend the volume. The newly added data disk space will be merged into the original volume. This is shown in the following figure:

Expanding partitions and file systems (Linux)