Format and Add Disk Larger than 2TB using fdisk

Basically, fdisk cannot create partition more than 2 TB. The other way to create the partition is using parted command.

Step one, locate the disk using fdisk

fdisk -l

Let say we got /dev/sdc

parted /dev/sdc

On parted

(parted) mklabel gpt
(parted) mkpart primary 0GB 3TB
(parted) exit

To verify

fdisk /dev/sdc

Format disk to ext4

mkfs.ext4 /dev/sdc1

To mount the formatted disk

mount /dev/sdc1 /data1