Disk
lsblk -o NAME,SIZE,TYPE,MOUNTPOINTCreate partition
sudo fdisk /dev/<disk>nfor new partitionpfor primary partition1to select first partitionwwrite changes
Format the partition
sudo mkfs.ext4 /dev/<disk>1Mount the partition
sudo mkdir -p /mnt/storage
sudo mount /dev/<disk>1 /mnt/storagePersist the mount
Print the UUID
sudo blkid /dev/<disk>1sudo vim /etc/fstabUUID=<UUID> /mnt/storage ext4 defaults 0 2Test configuration
sudo mount -aVerify
df -h | grep /mnt/storage