Before extending the disk partition and file system, you must check the disk partition style and file system format, and then select an appropriate operation accordingly.
Scenario | Partition Style | Disk Function | OS Requirements | File System Format | Capacity Expansion Tool | Example Configuration |
|---|---|---|---|---|---|---|
GPT or MBR | System disk Data disk |
| ext* (such as ext2, ext3, and ext4), xfs, and btrfs | growpart |
| |
MBR | System disk | The kernel version is earlier than 3.6.0. | ext* (such as ext2, ext3, and ext4), xfs, and btrfs | dracut-modules-growroot |
| |
MBR | System disk Data disk | None | ext* (such as ext2, ext3, and ext4), xfs, and btrfs |
|
| |
GPT | Data disk | None | ext* (such as ext2, ext3, and ext4), xfs, and btrfs | parted |
|
The maximum disk capacity that MBR supports is 2 TiB, and the disk space in access of 2 TiB cannot be used.
If your disk uses MBR and you need to expand the disk capacity to over 2 TB, change the partition style from MBR to GPT. Ensure that the disk data has been backed up before changing the partition style because services will be interrupted and data on the disk will be cleared during this change.