Spyderserve Web Development

Creating a Partition Larger than 2TB on Linux with Parted

First, find out the size of the disk by typing the following command:

fdisk -l /dev/sdb

Then, to create a partition start GNU parted as follows:

parted /dev/sdb

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

(parted) mklabel gpt

Next, set the default unit to TB, enter:

(parted) unit TB

To create a 3TB partition size, enter:

(parted) mkpart primary 0.00TB 3.00TB

To print the current partitions, enter:

(parted) print

Quit and save the changes, enter:

(parted) quit

Use the mkfs.ext3 or mkfs.ext4 command to format the file system, enter:

# mkfs.ext3 /dev/sdb1


# mkfs.ext4 /dev/sdb1
Source: http://www.cyberciti.biz/tips/fdisk-unable-to-create-partition-greater-2tb.html
Spyderserve  PO Box 5831 Valdosta, Georgia 31603 United States