Have you ever tried to partition a hard disk larger than 2TB using FDISK and wondered why you would get a warning to use GPT? Yes, you see that right. We cannot partition a hard disk larger than 2TB using FDISK.
In this case, we can use the parted command. The main difference is that Fdisk uses the DOS partitioning table format and parted uses GPT.
Tip: You can use Gdisk instead of parted.
In this article, we'll show you how to add a new disk larger than 2TB to an existing Linux server, such as Rhel/centos or Debian/ubuntu.
I am using Fdisk and parted to do this configuration.
First, use the FDISK command to list the current partition details.
For the purposes of this article, I added a 20GB disk, which can also be a disk larger than 2TB. After you add the disk, use the same fdisk command to verify the partition table.
Tip: If you add a piece of physical disk, you may find that the partition has already been created. In this case, you can use Fdisk to delete it before using parted.
Important: You need to be careful when deleting partitions. This erases the data on the disk.
Out of curiosity, let's look at the new partition with Fdisk.
Now format and mount the partition and add the same information in/etc/fstab, which controls mounting the file system at system startup.
That's it! In this article, we show you how to use the parted command
Http://www.oschina.net/news/83866/linux-2tb
How do I add a new disk larger than 2TB to Linux?