Home > System Tutorial > LINUX > body text

How to partition a disk larger than 2T?

王林
Release: 2024-03-12 15:50:03
forward
550 people have browsed it

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

How to partition a disk larger than 2T?

First introduce two types of partition tables:

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

Use parted to create a partition larger than 2T:

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!

source:linuxprobe.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!