tencent cloud

Feedback

Initialization Scenarios

Last updated: 2021-06-03 15:34:05

The cloud disks created through the console are manually mounted to your CVM and used as data disks in Online status by default. To use the disks, you need to initialize them first, including formatting, partitioning, and creating file systems. The initailization method varies by actual use scenario as shown below:

  • If the entire disk is presented as one independent partition (that is, there are not multiple logical disks such as D disk/vdb1 and E disk/vdb2), we strongly recommend you not use partitions, and directly create the file system on bare devices.
  • If the entire disk needs to be presented as multiple logical partitions (that is, there are multiple logical disks), you need to perform the partitioning first, then create the file system on a partition.

Common disk partition styles are Main Boot Record (MBR) and Guid Partition Table (GPT). If the disk partition format is changed after the disk is put into use, original data on the disk will be erased. Therefore, select an appropriate partition style according to actual needs.
Basics of the two partition styles are shown in the following table:

Partition style Maximum supported disk capacity Number of partitions supported Partition tool
MBR 2TB
  • 4 primary partitions
  • 3 primary partitions and 1 extended partition
  • Windows operating system: Disk management
    Linux operating system:
    • fdisk tool
    • parted tool
    GPT 18EB
    Currently, cloud disk supports a maximum capacity of 32TB
    No limit on number of partitions Windows operating system: Disk management
    Linux operating system: parted tool

    Select the appropriate operations guide according to disk capacity and the CVM‘s operating system type:

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support