If you have added a data disk during ECS creation, you must initialize the data disk after logging in to the ECS.
A system disk does not require manual initialization because it is automatically created and initialized upon server creation. The default partition style is master boot record (MBR).
In both cases, you must initialize the data disk before using it. Choose an appropriate partition style based on your service plan.
Table 1 lists the common disk partition styles. In Linux, different disk partition styles require different partitioning tools.
Disk Partition Style |
Maximum Disk Capacity Supported |
Maximum Number of Partitions Supported |
Linux Partitioning Tool |
---|---|---|---|
Master Boot Record (MBR) |
2 TB |
With MBR, you can create several primary partitions and one extended partition. The extended partition must be divided into logical partitions before use. For example, if 6 partitions need to be created, you can create them in the following two ways:
|
|
GUID Partition Table (GPT) |
18 EB 1 EB = 1048576 TB |
Unlimited Disk partitions created using GPT are not categorized. |
parted |