Raspberry Pi 5 + OpenMediaVault +NAS
1. Commerial NAS vs. DIY NAS?
- For me, the BIGGEST difference between
Commerial NAS
vs.DIY NAS
is their prices π - Without considering respective capabilities,
DIY
is ALWAYS of more freedom. And, freedom is so so so important as well
2. OpenMediaVault on Raspberry Pi 5
2.1 Use Lite Instead Of Desktop
On Raspberry Piβs official webpage Raspbian Operating Systems, find Raspberry Pi OS Lite
in category Raspberry Pi OS (64-bit)
. As of today, the most up-to-date release is raspios_lite_arm64-2024-07-04.
1 | β RaspberryPi sudo dd if=./2024-07-04-raspios-bookworm-arm64-lite.img of=/dev/sda bs=1M status=progress conv=fsync |
Donβt forget to enable SSH
after installation.
2.2 Install OpenMediaVault Upon Raspberry Pi OS Lite
Now, ssh into Raspberry Pi 5:
Follow OpenMediaVaultβs official documentation OpenMediaVault Installation on Debian, do the following:
apt-get install --yes gnupg
wget --quiet --output-document=- https://packages.openmediavault.org/public/archive.key | sudo gpg --dearmor --yes --output "/usr/share/keyrings/openmediavault-archive-keyring.gpg"
nvim /etc/apt/sources.list.d/openmediavault.list
and add1
2
3
4
5
6
7
8
9deb [signed-by=/usr/share/keyrings/openmediavault-archive-keyring.gpg] https://packages.openmediavault.org/public sandworm main
# deb [signed-by=/usr/share/keyrings/openmediavault-archive-keyring.gpg] https://downloads.sourceforge.net/project/openmediavault/packages sandworm main
## Uncomment the following line to add software from the proposed repository.
# deb [signed-by=/usr/share/keyrings/openmediavault-archive-keyring.gpg] https://packages.openmediavault.org/public sandworm-proposed main
# deb [signed-by=/usr/share/keyrings/openmediavault-archive-keyring.gpg] https://downloads.sourceforge.net/project/openmediavault/packages sandworm-proposed main
## This software is not part of OpenMediaVault, but is offered by third-party
## developers as a service to OpenMediaVault users.
# deb [signed-by=/usr/share/keyrings/openmediavault-archive-keyring.gpg] https://packages.openmediavault.org/public sandworm partner
# deb [signed-by=/usr/share/keyrings/openmediavault-archive-keyring.gpg] https://downloads.sourceforge.net/project/openmediavault/packages sandworm partner
By the way, please refer to OpenMediaVault SourceForge Distributions, sandworm is the MOST RECENT distribution.
- Exports
1
2
3export LANG=C.UTF-8
export DEBIAN_FRONTEND=noninteractive
export APT_LISTCHANGES_FRONTEND=none sudo apt-get --yes --auto-remove --show-upgraded \ --allow-downgrades --allow-change-held-packages \ --no-install-recommends \ --option DPkg::Options::="--force-confdef" \ --option DPkg::Options::="--force-confold" \ install openmediavault
omv-confdbadm populate
Now, ALL done.
2.3 OpenMediaVault Overview
OpenMediaVault Login Page | OpenMediaVault After Login |
---|---|
- username:
admin
- password:
openmediavault
all lower case
3. NAS Configuration on My Raspberry Pi 5
3.1 Abbreviation
NAS is the abbreviation of Network Attached Storage
.
3.2 Geekbord X1005 with a M.2 to Sata3.0 Extended Card
3.2.1 Enable NFS
1 | β ~ sudo omv-salt deploy run nfs |
and
1 | β ~ sudo cat /proc/fs/nfsd/versions |
3.2.2 Hailo AI Accelerators On Geekbord X1005
Iβll give it a go with Hailo AI Accelerators some time soon.