ABOVE 2TB Partitions
https://www.cyberciti.biz/tips/fdisk-unable-to-create-partition-greater-2tb.html
BELOW ONLY WORKS FOR 2TB and UNDER
sudo fdisk -l
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectorsDisk model: EARS-00MVWB0Units: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: dosDisk identifier: 0x2b92e929sudo fdisk /dev/sda
Type n press enter (for new Partition)
Type p for primary
1 Default for partition 1
Start and ending sectors use defaults for full disk.
w to write
q to quit.
Format file System to ext4
sudo mkfs.ext4 /dev/sda1
pi@buster48:~$ sudo mkfs.ext4 /sda/sda1mke2fs 1.44.5 (15-Dec-2018)The file /sda/sda1 does not exist and no size was specified.pi@buster48:~$ sudo mkfs.ext4 /sda/sdamke2fs 1.44.5 (15-Dec-2018)The file /sda/sda does not exist and no size was specified.pi@buster48:~$ sudo mkfs.ext4 /dev/sda1mke2fs 1.44.5 (15-Dec-2018)Creating filesystem with 488378390 4k blocks and 122101760 inodesFilesystem UUID: c14ffaff-fd21-4fce-a54f-cf3f4ca41c08Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 102400000, 214990848