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
[cc lang=”bash”]fdisk -l[/cc]
Let say we got /dev/sdc
[cc lang=”bash”]parted /dev/sdc[/cc]
On parted
[cc lang=”bash”](parted) mklabel gpt
(parted) mkpart primary 0GB 3TB
(parted) exit[/cc]
To verify
[cc lang=”bash”]fdisk /dev/sdc[/cc]
Format disk to ext4
[cc lang=”bash”]mkfs.ext4 /dev/sdc1[/cc]
To mount the formatted disk
[cc lang=”bash”]mount /dev/sdc1 /data1[/cc]