Partitioning a Disk Using Parted HOWTO  
Call parted from the command line as:
sudo /sbin/parted /dev/sda
Erase the partition table:
mklabel gpt
Set the units to TB:
unit TB
Make a ext2 partition:
mkpart primary ext2 0.00TB 4.00TB
Print the partition table:
print
Exit parted:
quit
Format the partition:
mkfs -t ext2  /dev/sda1
12.19.19
PDF 1✕1 2✕1 2✕2
$\pi$
cron