Automatically mount a volume at instance startup

  1. Get UUID
sudo lsblk -o NAME,FSTYPE,UUID,MOUNTPOINTS,SIZE
  1. Edit fstab
sudo vim /etc/fstab

You need to add a new entry like that

# USB1
UUID=4072-b473 /mnt/folder btrfs defaults 0 0
  1. Test fstab
sudo findmnt --verify
  1. Reboot
sudo reboot
<-- Back to Posts