Finaly Raspberry version with proper NVMe disks :)
So i have decided to build simple NAS with two mirrored NVMe disks and openmediavault software.
Disks are installed in Pimoroni NVMe Base Duo for Raspberry Pi 5.
I have bought extra flexible cable between Rpi and Duo Base as included one was too short.
So i have used Pimoroni PCIe Flex cable for NVMe Base and Raspberry Pi 5, 50 mm.
It is very nice small and low energy consumption NAS server!
System is installed on UUGear Raspikey, 16GB eMMC drive instead of SD card. It is faster and should last longer than SD card. I dont like SD cards:)
Also official Rpi5 heatsink with little fan was used.
With this setup there was idle temperatures of U around 50C and disks was about 45C.
With heavy usage it was 55/68/70C so i have decided to add one fan more. 80mm fan on top of the case. It is not so noisy but a will probably add 50-100 Ohm resistor in series with fan to slow it down and make it even less noiser. Similar as Noctua is doing with their "silent" cables.
I have added little display (TM1637), so with help of some python3 script it will display temperature (U/disk) as well.
It is little bit tricky to tight its four srews down as it is deep in top case and under 90 degree angle, so you will need to use very smal screw driver or use special flexible tool, see pictures, you can see that tool there. Or you can just glue it or do not use it at all.
Also i have printed it partial with transparent filament so you can see status LED blinking and add for rpi power button, so you can press it with some tool (pen or toothpick). Using tool will help to avoid accidentally to press that button and shut whole NAS down:)
I have included python3 script for displaying temps of U and NVMe.
It is probably not super optimised but it is working, feel free to make it better;)
You will need install TM1637 library:
pip3 install raspberrypi-tm1637
In my case i used this command: pip3 install raspberrypi-tm1637 --break-system-packages
(Because of externally-managed-environment error)
If you do not have pip3 installed:
sudo apt install python3-pip
Then you can run it: python3 get_temp_TM1637.py
(do not forget include/import tm1637.py)
For Raspberry Pi 5 only:
Also RPi.GPIO is not compatible with rpi5.
So first uninstall RPi.GPIO:
sudo apt remove python3-rpi.gpio
and then install rpi-lgpio:
pip3 install rpi-lgpio
Warning
You cannot install rpi-lgpio and rpi-gpio (aka RPi.GPIO, the library it emulates) at the same time, in the same Python environment.
So you need to uninstall RPi.GPIO first and then install rpi-lgpio
Display:
https://www.aliexpress.com/item/1005001970566474.html?spm=a2g0o.productlist.main.1.5193LNWxLNWxZx&algo_pvid=a3021a2a-19e8-4d0f-818d-76d1fdbfdb18&algo_exp_id=a3021a2a-19e8-4d0f-818d-76d1fdbfdb18-0&pdp_npi=4%40dis%21USD%211.17%211.08%21%21%211.17%211.08%21%40211b80d117272697109345132e2577%2112000018270291707%21sea%21CZ%21739944150%21X&curPageLogUid=HpYSqVhmvssb&utparam-url=scene%3Asearch%7Cquery_from%3A
Bambu Lab X1C
0.2
20 infill
no s
white PLA+, transparent PLA