Use linux's parted command disk partitioning tool
This article mainly introduces the use of linux parted command disk partition tool, the article is very detailed, has a certain reference value, interested friends must read it!
The parted command is a powerful disk partition and partition resizing tool developed by the GNU organization. Unlike fdisk, it supports resizing partitions. As a tool designed for Linux, it is not built to handle multiple partition types associated with fdisk, but it can handle the most common partition formats, including: ext2, ext3, fat16, fat32, NTFS, ReiserFS, JFS, XFS, UFS, HFS, and Linux swap partitions.
Parted command for greater than 2T hard disk partition, generally speaking, we use the fdisk command for disk partition, but for the hard disk capacity greater than 2T, this command does not work, because the MBR partition table only supports 2T disk; so the disk larger than 2T must use the GPT partition table, then we need to use the parted command.
Syntax format: parted [parameters] [device]
Common parameters:
-I interactive mode-s script mode, without prompting the user-l to list partition layouts on all block devices-h displays help information
Reference example
List the partition layouts on all block devices:
[root@linuxprobe ~] # parted-l
Disk device partitions:
[root@linuxprobe ~] # parted above is all the contents of the disk partitioning tool using linux's parted command, thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!