Linuxcat.org

Full Version: How to partition over 2TB in Linux
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Reference URL's