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

这个回答有用吗?

 打印这篇文章

继续阅读

重设MySQL root密码

如果忘记了MySQL的root密码,可以用以下方法重新设置: 1. KILL掉系统里的MySQL进程; killall -TERM mysqld 2....

New webmin users cannot change password after "Force change at next login" is selected

New webmin users cannot change password after "Force change at next login" is selectedGo to...

How can I add physical volumes to a volume group using LVM?

This article assumes that you have an existing system already using Logical Volume Manager...

Resetting root password in CentOS/RedHat

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

DirectAdmin Installation Guide

...

Powered by WHMCompleteSolution