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!
- Please don't connect the external data SSD/HDD to your server, yet!
- Run over CLI:
sudo bash /var/scripts/not-supported.sh
- Choose
BTRFS Veracrypt
- Select that you want to install veracrypt
- Select that you want to continue
- Wait until it is installed
- After pressing
OK
, connect the drive to your server - It should get found after a few seconds
- Select the drive that you want to format and encrypt
- 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) - Confirm the password
- Confirm that you are sure to format and encrypt the drive by selecting
Yes
- Now the drive should be successfully formatted and encrypted
- Choose to mount the drive to your server
- Type in the mountpath that you want to use, recommended is
/mnt/data
- 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)