Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to partition a disk greater than 2T

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how to partition disks larger than 2T. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.

Since the disk enclosure was purchased specifically for storage, and later considering the dynamic management of disk capacity, LVM was prepared for dynamic expansion management. First, let the front-end mount machine recognize the logical volume group of the disk enclosure, for example: /dev/sdb

First, introduce two partition tables:

MBR partition table: Maximum supported volume: 2T (T; terabytes,1TB=1024GB) Maximum partition limits: 4 primary partitions or 3 primary partitions plus one extended partition. GPT partition table: (GPT meaning: GUID partition table) Maximum supported volumes: 18EB,(E: exabytes,1EB=1024TB) Maximum supported partitions per disk: 128

Use parted to create partitions larger than 2T:

1, parted /dev/sdb You can type p to print disk information, view partitions, and find where they start and end.

2, mklabel gpt Set partition type to gpt

3, mkpart primary 0 1572860primary refers to the partition type as the primary partition, 0 is the partition start position, and 1572860 is the partition end position.

4, quit after the completion of the quit command.

Thank you for reading! About "how to partition a disk larger than 2T" this article is shared here, I hope the above content can be of some help to everyone, so that everyone can learn more knowledge, if you think the article is good, you can share it to let more people see it!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report