Disk label is an area at the front of each disk on which geometry and slice information are stored.
In RHEL, two types of disk labels below can be used:
MSDOS label (Also called MBR label)
GPT label
Information
Creation and change of the disk labels can be executed with the parted(8) command.
Disk label types of disks registered with a class are indicated as below:
It will be GPT type.
It will be the same as the disk label type of a class.Disk label type of a class is determined by the size of the disk first registered with the class and the disk label type as below.
Disk first registered with the class | Disk in the class | |
---|---|---|
Size | Disk label type before registered | Disk label type after registered |
Smaller than 2 TB | No label | MSDOS type |
GPT type | GPT type | |
2 TB or larger | No label |
Also, the size of a disk that can be registered with the class is determined by the disk label type of a class.
- For MSDOS type: Smaller than 2 TB
- For GPT type: Smaller than 2 TB or 2 TB or larger (both available)
The disk label type of a class can be viewed in the LABEL field of Class information that is displayed with the sdxinfo -C -e label command.