Not meant to be graphical, so business as usual 😉
Get the right device first (e.g. hot swap)
# fdisk -l | grep '^Disk'
In this case, we check on /dev/sdd to create a new partition:
# fdisk /dev/sdd
Basic commands from the menu needed:
* m - print help * p - print the partition table * n - create a new partition * d - delete a partition * q - quit without saving changes * w - write the new partition table and exit
After having added a new partition, you will need to format it to you preferred, in this case ext3
# mkfs.ext3 /dev/sdd1
Then create a new mount point e.g. /data/stuff and mount the formatted partition over there.
# mkdir /data/stuff # mount /dev/sdd1 /data/stuff
Those mounts remain on the system til you reboot it. To add this by default, edit /etc/fstab
# vim /etc/fstab
and add the following line:
/dev/sdd1 /data/stuff ext3 defaults 0 2