More than 2 TB storage partitions in linux

Source: Internet
Author: User
More than 2 TB storage partitions in linux-Linux Enterprise Application-Linux server application information. For details, refer to the following section. 1. How to Create a partition with a size greater than 2 TB?

Let's take a look at the two partition tables.
MBR Partition Table: (MBR meaning: Master Guide record)
Maximum supported volumes: 2 TB (T; terabytes, 1 TB = 1024 GB)
Limit on partitions: a maximum of four primary partitions or three primary partitions can be added with an extended partition (unlimited logical drives are supported in the extended partition)

GPT Partition Table: (GPT meaning: GUID partition table)
Maximum supported volume: 18EB, (E: exabytes, 1EB = 1024 TB)
Each disk supports a maximum of 128 partitions.

2. Use parted to create a partition with a size greater than 2 TB

Assume that/dev/sdb is a 7 TB storage device.
Parted/dev/sdb
Print to view the partition information and find the start position
For example:
Disk geometry for/dev/sdb 0.000-7766701.367 megabytes
Minor Start End Filesystem Name Flags
1 0.017 7766701.351
Set the partition type to gpt.
Mklabel gpt
Partition
Mkpart parmary 0 7766701.367
Primary refers to the primary partition type,
The numbers 0 and 7766701.367 correspond to the start and end positions obtained by the print command respectively.
Then, run the quit command to exit.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.