Initialization Scenarios

Last updated: 2020-08-21 16:14:57

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 16TB
    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:

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help