This document describes how to extend a file system after logging in to the CVM instance. This method is suitable for scenarios where the file system is directly created without partitioning the cloud disk.
df -ihT
Use the file system-specific command to extend the file system.
NoteNote the following capacity limits for an EXT file system:
- EXT3 supports up to 16 TB, and each file cannot exceed 2 TB.
- EXT4 supports up to 1 EB, and each file cannot exceed 16 TB.
Run the following command to extend the EXT file system /dev/vdb
.
resize2fs /dev/vdb
Run the following command to view the disk space of the file system.
df -h
Was this page helpful?