Walk through adding a new disk and mounting it permanently.
IntermediateConceptStorage & Memory
Answer
lsblk # find it, e.g. /dev/nvme1n1
sudo parted -s /dev/nvme1n1 mklabel gpt mkpart data xfs 0% 100%
sudo mkfs.xfs /dev/nvme1n1p1
sudo mkdir -p /data
sudo blkid /dev/nvme1n1p1 # copy the UUID
echo 'UUID=<uuid> /data xfs defaults,nofail 0 0' | sudo tee -a /etc/fstab
sudo mount -a && findmnt /data # test fstab before rebooting
More on Storage & Memory
How do you list disks, partitions and filesystems?IntermediateMBR vs GPT partition tables?IntermediateExplain the six fields of an /etc/fstab line.IntermediateWhy use UUIDs and `nofail` in fstab?IntermediateWhat does a bad fstab entry do, and how do you recover?AdvancedWhat is LVM? Explain PV, VG and LV.Beginner