Find the drive name:

fdisk -l

*In this example we will use /dev/sdc

Now access parted to prepare the drive for formatting and mounting:

sudo parted /dev/sdc

Now set the following:

(parted) mklabel gpt
(parted) unit TB
(parted) mkpart primary 0.00TB 4.00TB (Changing 4.00TB to the size of your drive)
(parted) quit

Format the drive as ext4:

sudo mkfs.ext4 /dev/sdc1 (note the "1" now)

Set the reserved blocks percentage:

sudo tune2fs -m 1 /dev/sdc1

Create a mount point for the new drive:

mkdir /mnt/mountpoint

Mount the drive:

mount -t ext4 /dev/sdc1 /mnt/mountpoint/

Now we add the mountpoint to fstab so that the drive is available on reboot:

sudo vim /etc/fstab

Add the following to the bottom of fstab:

/dev/sdc1 /mnt/mountpoint ext4 defaults,errors=remount-ro 0 1
Written by Matt Cooper
Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: