Format & attach a local drive

Determine the device name you want to format, in this case /dev/nvme1n1

sudo lsblk -f
sudo mkfs -t ext4 /dev/nvme1n1

Create a directory, in this case /data, and mount it

sudo mkdir /data
sudo mount /dev/nvme1n1   /data

Determine the UUID of your spiffy new mounted device

sudo blkid

UUID=6a2a2521-8370-4c3b-b952-9c3d7ec10d12 /data ext4 defaults,nofail 0 2

Paste in a line at the bottom of /etc/fstab something like the above:

sudo vi /etc/fstab