Raspbery Pi 5 - 8 Gb Ram
Radxa Penta SATA Hat
Momentary Push Button - Black 16 mm
2 mm OD Fiber Optic Cable
Raspberry Pi 5 Setup:
Flash Pi OS Lite onto Micro SD Card: Raspberry Pi OS (Legacy, 64 bit) Lite - Bookworm
Note: Has to be Bookworm Lite. Trixie and full OS is not fully supported for OMV.
Customisation Setup:
Create a hostname for your pi: I named mine Pi-5-NAS
Set region and time zone
Create user and password
Enable SSH
SSH into the Pi after installing Micro SD card
Find the IP address of the Pi on your home network
Open Putty and SSH into the Pi
Update and upgrade Raspberry Pi software
Run the command sudo apt update -y && sudo apt upgrade -y in the SSH terminal
If you run into an issue where the RPi does not update, try running sudo apt update -y first by itself and then sudo apt upgrade -y by itself.
Open Media Vault Installation: (Main System OS)
Note: an Ethernet connection is REQUIRED to install OMV. Before installing OMV, connect the 2.5 Gbps Ethernet Adapter if you plan to use one.
Install OMV (Open Media Vault) on the Raspberry Pi
Navigate to the omv webpage and follow the steps to installing OMV. https://wiki.omv-extras.org/doku.php?id=omv7:raspberry_pi_install
If you have a 2.5 Gbps ethernet adapter, connect it now. OMV will set up the network based on the adapter while also keeping the native 1 Gbps ethernet port on the RPi.
Copy the following line complete (Ctrl+C) and paste it into PuTTY's SSH window, with a right mouse click. Then hit Enter.
Run the command wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
Enable PCIe Port on Pi: RPi Config
After installing OMV and obtaining the new IP address of the Pi, SSH into the Pi again and type the command: sudo nano /boot/firmware/config.txt
Scroll down with arrow keys in the config file and add:
# Enable PCIe Port
dtparam=pciex1
dtparam=pciex1_gen=3
Follow the next section to overclock the Pi if you want to.
press Ctrl + X to exit. The Pi will ask if you want to save. Hit Y.
Check that the PCIe port is enabled and running at PCIe gen 3 speeds (8 GT/s) by using the command: sudo lspci -vv
Use the command lsblk to see the installed drives.
Overclocking the RPi: RPi Config (Optional)
Note: This is a moderate overclock. A more aggressive overclock requires better cooling.
SSH into the RPi with Putty
Open the RPi config file: sudo nano /boot/firmware/config.txt
Underneath [all] add the lines:
arm_freq=2800 (2.8 GHz)
gpu_freq=1000 (1000 MHz)
over_voltage=4
Reboot the RPi: sudo reboot
Check the speed after rebooting with the command:
Check CPU Speed:
current speed: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
max speed: cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
min speed: cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
Real time monitoring:
Check GPU/Clock Speed:
vcgencmd measure_clock core
real-time monitoring: watch -n 2 vcgencmd measure_clock core
vcgencmd measure_clock arm
real-time monitoring: watch -n 1 vcgencmd measure_clock arm
Check CPU and GPU temp. The CPU and GPU share the same temp sensor
vcgencmd measure_temp
real-time monitoring: watch -n 2 vcgencmd measure_temp
Safely Shut Off the Raspberry Pi:
Press the Power Button once and the Raspberry Pi will begin its shutdown sequence. The green LED on the Pi will turn red, indicating that it has been safely shutdown.
Do not Press and hold for 5-10 seconds. This will shutdown the Pi even if it is actively running, potentially corrupting the SD Card.
SSH into the Raspberry Pi and run the command sudo poweroff. This will run the shutdown sequence and safely turn off the Pi.
Setting Static IP:
Setting the Static IP is necessary so that the NAS can be always accessed after being setup without a changing IP address. Otherwise, you will need to keep checking your router for your Pi's IP address.
Login to your Router account. The Router my family uses is from NETGEAR. Access the router by going to routerlogin.net. Login with your router username and password.
Set Static IP: Advanced -> Setup -> LAN Setup -> Address Reservation -> Set an IP address that is out of the DHCP region (192.168.1.1 < IP < 192.168.1.50 || 192.168.1.100 < IP < 192.168.1.254)
Verify your Pi has a static IP address by SSH with the new static IP address.
Setting up 2.5 Gbps Ethernet Adapter after OMV install:
Note: I have not tested this. This is what ChatGPT said.
After setting up OMV, plug in the ethernet adapter into one of the USB 3.0 ports on the RPi 5.
login into the OMV Web UI page -> Network -> Interface
The Ethernet adapter should show up as eth0 or ethX and you can configure the Ethernet Adapter to be another interface for the RPi.
Important Things to Note:
Native transfer speeds on the RPi 5 ethernet port is 1 Gbps. You can use a 2.5 Gbps ethernet adapter to increase the speeds, but your router or extender must support 2.5 Gbps.
If you are transferring files through WiFi, there isn't a point to even get a 2.5 Gbps adapter since WiFi transfer speeds will always be much slower than direct connect ethernet.
Accessing the NAS on a PC:
File Explorer -> Type in the IP Address of the Pi-5-NAS (\\192.168.1.XXX) -> Select the Folder you want to Access -> Type in User and Password
This only works if you have SMB properly setup in OMV
Use the Tailscale IP Address to access the NAS from anywhere as long as the device you are on has Tailscale and is connected to your Tailscale account.
In the Tailscale app -> Copy Pi-5-NAS IP Address -> Paste in to web browser.
Only works if the device you are connecting to is connected to Tailscale and the device you are using is connected to Tailscale.
Access Docker Containers on your NAS by typing in the copied IP Address followed by the port. Ex: Jellyfin: Tailscale Pi-5-NAS IP Address:8096
Adding WiFi with omv-firstaid: