Skip to main content

How to format, encrypt and mount the external data SSD/HDD?

In order to prepare the external data SSD/HDD for your server, you should first format and encrypt it using Veracrypt.

Warning: this will delete any data on this drive!

  1. Please don't connect the external data SSD/HDD to your server, yet!
  2. Run over CLI:
    sudo bash /var/scripts/not-supported.sh
  3. Choose BTRFS Veracrypt
  4. Select that you want to install veracrypt
  5. Select that you want to continue
  6. Wait until it is installed
  7. After pressing OK, connect the drive to your server
  8. It should get found after a few seconds
  9. Select the drive that you want to format and encrypt
  10. Enter a difficult password and store it at a safe place.
    (Difficult password means at least 20 characters long, containing small and tall letters, digits and special characters)
  11. Confirm the password
  12. Confirm that you are sure to format and encrypt the drive by selecting Yes
  13. Now the drive should be successfully formatted and encrypted
  14. Choose to mount the drive to your server
  15. Type in the mountpath that you want to use, recommended is /mnt/data
  16. Wait until everything is configured

Now, the drive should be ready.

tip

BTW: You could run this script a second time now to format, encrypt and mount a second drive, if you want to use more than one external data SSD/HDD. (The two backup HDDs will get configured below.)

info

After you've exited the script, you should reinstall Disk Monitoring to make sure that all drives support Smart Monitoring and are healthy. (instructions)