Overview
After expanding a cloud disk in the console, you need to either assign its expanded capacity to an existing partition, or format it into an independent new partition. If you expand a cloud disk that is attached to a running CVM, you need to rescan the disk to recognize the disk capacity after expansion. If the cloud disk to be expanding is not attached to a CVM or the attached CVM is shut down, the disk capacity after expansion will be automatically recognized.
Note:
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. After extension of the file system, we strongly recommend you rescan the disk to recognize the capacity. If you refresh the system or perform other operations, the expanded capacity may not be recognized. Prerequisite
Note:
This document describes how to expand a disk attached to a CVM instance with Windows Server 2012 R2 installed. Note that the steps may vary by operating system version.
Directions
Rescanning the disk
1. Right-click and select Computer Management. 2. On the left sidebar of the Computer Management window, select Storage > Disk Management.
3. Right-click Disk Management and select Rescan Disks.
4. After the scan is completed, check whether the data disk has expanded to the specified size. (In this example, the scan shows that the cloud disk is expanded from 10 GB to 50 GB).
Extending the file system of an existing partition or creating a partition
You can extend the file system of an existing partition or create a partition as instructed below:
Extending the file system of an existing partition
1. Right-click the blank space of the disk and select Extend Volume.
2. Follow the Extend Volume Wizard to extend the volume.
The new data disk capacity will be added to the original volume.
1. Right-click the free space of the disk and select New Simple Volume.
2. Follow the New Simple Volume Wizard to create a simple volume with default settings.
The new data disk capacity will be formatted into a new partition.
Viewing the Virtio driver version
1. Right-click and select Device Manager. 2. Unfold Storage Controller items and double-click Tencent VirtIO SCSI controller.
3. Select the Driver tab to view the current version, which is 58005 here.
References
Was this page helpful?