All that disk space . . .
So now we have 8 SATA connectors, what to do with them . . . .
The M2, the on-board SSD, is mainly used for the OS and the OS related installs like docker. Then we have a separate disk used to store the docker Volumes (local persist), that helped us to recover fast, like the one time we were hacked (will tell you in another post).
Then there is a disk we use for TimeMachine (running as a docker) to backup our Apple devices.
For the media storage we have chosen to use lvm (Logical Volume Management) provided by the Linux OS. (https://www.thegeekdiary.com/redhat-centos-a-beginners-guide-to-lvm-logical-volume-manager/)
The advantage to use this for media storage is that it probably will expand over time, and that is just what this LVM provides. Once you need extra storage, you add the physical volume, and add it to the LVM. Already did this once, and it worked like a charm. Downside is that there is no protection, and for us this is fine, as it will be very expensive to achieve this, and we consider this data as fluid, meaning that it changes over time. We have one slot left for expansion, so we think we are good for now . . .
If you counted right, you are missing 2 SATA ports if we have only one left, and that is correct. The last two slots are used for a RAID-1 (https://linuxscriptshub.com/configuring-software-raid-1-in-centos-7/)
We use this for data we want some protection for. At the moment we have this data on a Synology, but we wanted to move this to the server, making the Synology obsolete . . .
This makes our SATA port layout as follows:
- SDA – Storage of local persist docker volumes
- SDB – Storage of TimeMachine data
- SDC – LVM
- SDD – LVM
- SDE – LVM
- SDF – Spare for LVM
- SDG – Software RAID-1
- SDH – Software RAID-1