tencent cloud

Cloud Block Storage

User Guide
Announcements
Announcement of the Commercial Charges of Tencent Cloud CBS Snapshot
Announcement of the Commercial Charges of Tencent Cloud CBS Snapshot Cross-Region Replication
Product Introduction
Overview
Strengths
Scenarios
Regions and AZs
Cloud Disk Instances
Cloud Disk Snapshots
Access Management
Related Products
Predecessor
Service Regions and Service Providers
Billing
Billing Overview
Price Overview
Purchase Instructions
Renewal Guide
Overdue Payment
Getting Started
Step 1. Creating Cloud Disks
Step 2. Attaching Cloud Disks
Step 3. Initializing Cloud Disks
User Guide
Operation Overview
Usage Limits
Creating Cloud Disks
Attaching Cloud Disks
Initializing Cloud Disks
Expanding Cloud Disks
Detaching Cloud Disks
Terminating Cloud Disks
Viewing Cloud Disk Information
Adjusting Cloud Disk Types
Adjusting Cloud Disk Performance
Cloud Disk Data Protection Configuration
Cloud Disk Data Backup Point
Managing Snapshots
Monitoring and Alarms
Use Cases
Measuring Cloud Disk Performance
Building LVM Logic Volumes with Multiple Elastic Cloud Disks
Expanding MBR Cloud Disks to Greater Than 2 TB
Troubleshooting
Failed to Unmount Cloud Disks from Windows CVM Instances
Disk Not Mount upon Linux CVM Restart
API Documentation
History
Introduction
API Category
Making API Requests
Snapshot APIs
Cloud Disk APIs
Data Types
Error Codes
FAQs
Features
Billing
Performance FAQs
Snapshot
Usage
Cross-region Replication
CBS Service Level Agreement
Contact Us
Glossary
ドキュメントCloud Block Storage

Step 4. Expanding Cloud Disk Capacity (Optional)

フォーカスモード
フォントサイズ
最終更新日: 2022-09-29 17:39:35

Overview

You can expand a cloud disk to increase its storage space. This document describes how to expand a cloud disk via the console, and assign its expanded capacity to an existing file system.
Note:
For more information on cloud disk expansion, see Expanding Cloud Disks.

Note

To protect important data, you can create a snapshot to back up your cloud disk data before expanding it.

Prerequisites

Directions

Expanding cloud disks (Windows CVMs)
Expanding cloud disks (Linux)

Expanding cloud disks via the console

1. Log in to the CVM console and click Cloud Block Storage on the left sidebar.
2. Select More > Expand on the right of the target cloud disk.
3. In the Expand Disk Capacity pop-up window, select the new capacity and click Next.
4. Click Adjust Now.

Rescanning the disk

Note:
This section uses a CVM instance with Windows Server 2012 R2 DataCenter 64-bit English installed as an example. Note that the steps may vary by operating system version.
1. Log in to the Windows CVM instance as the admin user. See Logging in to Windows Instance Using RDP (Recommended).
2. On the desktop, right-click

in the lower-left corner, and select Computer Management.
3. Right-click Disk Management and select Rescan Disks.
4. After the scan is complete, check whether the data disk has the size after the expansion.

Extending file systems of an existing partition

Note:
This document takes extending file systems of the existing partition as an example, that is, assigning the expanded capacity to the existing E drive. For more information, see Extending Partitions and File Systems (Windows).
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.

Expanding cloud disks via the console

1. Log in to the CVM console and click Cloud Block Storage on the left sidebar.
2. Select More > Expand on the right of the target cloud disk.
3. In the Expand Disk Capacity pop-up window, select the new capacity and click Next.
4. Click Adjust Now.

Extending a file system (Linux CVMs)

Note:
This section uses a Linux CVM instance with CentOS 7.8 installed as an example. Note that the steps may vary by operating system version.
This section takes extending file systems of the existing partition as an example, that is, assigning the expanded capacity to /dev/vdb. For more information, see Online Extending Partitions and File Systems.
1. Run the following command to extend the EXT file system.
resize2fs /dev/vdb
The returned result is as shown below:


2. Run the following command to view the result.
df -TH
If information similar to what is shown below is returned, the file system has been extended successfully.



References

ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック