How to create a partition size larger than 2TB using parted

Linux has a 2TB limit on the partition size.

Find the drive you want to partition

# fdisk -l

To create a partition start GNU parted as follows:

# parted /dev/sdx

Output:

GNU Parted 1.8.1
Using /dev/sdx
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted)

Creates a new GPT disklabel i.e. partition table:

mklabel gpt

You can also find the max partition size by using 'fdisk -l'

To Create 5TB partition size:

mkpart primary 0 5000G

Quit and save the changes:

quit

Use mkfs to format file system:

# mkfs.ext3 /dev/sdx1

这个回答有用吗?

 打印这篇文章

继续阅读

Adding a range/block of ips

As an example to add a /24 253 ips to a linux server follow these setups. We'll use...

How to open ports within IPtables in Redhat 3/4/5 & Above | CentOS | Fedora Linux

How to open ports within IPtables in Redhat 3/4/5 & Above | CentOS | Fedora LinuxIPtables...

Change DirectAdmin's password

Direct Admin; by default automatically creates an administrator account when it's initially...

Resetting root password in CentOS/RedHat

f you forgot your root password, you can use the following steps to boot into single user mode...

Add Multiple IP's to a Server

...

Powered by WHMCompleteSolution