Este conteúdo foi traduzido por máquina para sua conveniência e a Huawei Cloud não pode garantir que o conteúdo foi traduzido com precisão. Para exibir o conteúdo original, use o link no canto superior direito para mudar para a página em inglês.
Atualizado em 2025-01-23 GMT+08:00

Cenários e partições de disco

Se você tiver adicionado um disco de dados durante a criação do ECS, inicialize o disco de dados após efetuar logon no ECS.

Scenarios

After a disk is attached to a ECS, you need to log in to the ECS to initialize the disk, that is, format the disk. You must initialize a disk before accessing it.
  • System disk

    A system disk does not require manual initialization because it is automatically created and initialized upon ECS creation. The default partition style is master boot record (MBR).

  • Data disk
    • If a data disk is created along with ECS, it will be automatically attached to the ECS.
    • If a data disk is created separately, you need to manually attach it to ECS.

    In both cases, you must initialize the data disk before using it. Choose an appropriate partition style based on your service plan.

Guia de operação de particionamento

Tabela 1 lista os estilos comuns de partição de disco. No Linux, diferentes estilos de partição de disco requerem diferentes ferramentas de particionamento.

Tabela 1 Disk partition styles

Disk Partition Style

Maximum Disk Capacity Supported

Maximum Number of Partitions Supported

Linux Partitioning Tool

Master Boot Record (MBR)

2 TB

  • 4 primary partitions
  • 3 primary partitions and 1 extended partition
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:
  • 3 primary partitions and 1 extended partition, with the extended partition divided into 3 logical partitions
  • 1 primary partition and 1 extended partition, with the extended partition divided into 5 logical partitions
  • fdisk
  • parted

GUID Partition Table (GPT)

18 EB

1 EB = 1048576 TB

Unlimited

Disk partitions created using GPT are not categorized.

parted