Home >System Tutorial >LINUX >How to partition a disk larger than 2T?
Since I purchased a disk cabinet specifically for storage, I later considered the dynamic management of disk capacity and planned to use LVM for dynamic expansion management. First, let the front-end mounting machine recognize the logical volume group of the disk cabinet, such as: /dev/sdb
MBR partition table: (MBR meaning: master boot record)
Maximum supported volume: 2T (T; terabytes, 1TB=1024GB)
Limits on partitions: Up to 4 primary partitions or 3 primary partitions plus one extended partition.
GPT partition table: (GPT meaning: GUID partition table)
Maximum volume supported: 18EB, (E: exabytes, 1EB=1024TB)
Each disk supports up to 128 partitions
1,parted /dev/sdb
You can enter p to print disk information, check the partition status, and find the starting and ending locations.
2,mklabel gpt
Set the partition type to gpt
3,mkpart primary 0 1572860
primary refers to the partition type as the main partition, 0 is the starting position of the partition, and 1572860 is the ending position of the partition.
4,quit
After completion, use the quit command to exit.
The above is the detailed content of How to partition a disk larger than 2T?. For more information, please follow other related articles on the PHP Chinese website!