Home arrow Guides arrow Create Partitions bigger than 2TB in Linux
Create Partitions bigger than 2TB in Linux PDF  
Digg Reddit Stumble Upon Facebook Twitter Google Technorati Bookmark
Sunday, 16 October 2011
When using default tool in Linux to create partitions (which is fdisk) we will notice we cannot create partitions bigger than 2TB. For example let's say we have a 3TB hard drive and we want to create a single partition.

We can acomplish that with parted and GPT.
Our drive is: Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes

So we will enter in parted command line tool:

  parted /dev/sdc

There we create a new disklabel of gpt type:

  mklabel gpt         # this will be run inside parted command line tool

Then we create the partition:

  mkpart primary ext4 1 3000.00GB   # this will run inside parted command line tool.

Then we create a file system on /dev/sdc1:

  mkfs.ext4 /dev/sdc1


Tips
------
To print/display partitions using parted run from parted command line: p  # or print
To delete a partition using parted run from parted command line:  rm part_no   # where part_no is the partition  number


Last Updated ( Sunday, 16 October 2011 )
 
Next >

Misc

Linux Tips

Polls

What is your favorite Linux Distribution ? (we just added Mint and reset the pool data)