Installing SSD drive

https://www.howtogeek.com/devops/how-to-add-a-new-drive-to-your-existing-linux-server/

Check your file is there

lsblk

  • check the file system

lsblk -f

or

fdisk -l

Make an ext4 file system

mkfs.ext4 /dev/sdc

Can you see your drive?

sudo mkfs -t ext4 /dev/sdb

Create a new mount point

sudo mkdir /mnt/ssd

 Now mount

sudo mount /dev/sda /mnt/ssd

Mounting and fstab

  • mount on boot and don't boot if it doesn't mount

UUID=XXXX /mnt/passport auto defaults 0 0

  • mount on boot and ignore if it doesn't mount

UUID=XXXX /mnt/passport auto nofail 0 0