OpenMediaVaultLab
A green Raspberry Pi board with a microSD card sliding in, cyan cables linking it to a router and a two-bay NAS enclosure under a shield icon
homelab

How to Install OpenMediaVault 8 on Raspberry Pi

Install OpenMediaVault 8 on a Raspberry Pi using Raspberry Pi OS Lite, wired networking, USB storage, SMB shares, backups, and secure remote access.

By OpenMediaVaultLab Editorial · · 5 min read

If you need to know how to install openmediavault on raspberry pi, the reliable route is Raspberry Pi OS Lite 64-bit, wired Ethernet, and the maintained OMV-Extras installer. The current script installs OpenMediaVault 8 on Debian 13 “Trixie”; older guides describe OMV 6 or 7, turning a NAS project into archaeology.

Who this is for, and who should skip it

This is a good fit for a Raspberry Pi 4 or 5 serving documents, backups, and media to a few home users. You should be comfortable with SSH, know that formatting a disk erases it, and have a separate USB HDD or SSD for data.

Skip it if you need several drives, ZFS RAIDZ, fast transcoding, or business-critical uptime. An N100 box or Synology costs more but removes USB-storage and power quirks. Also skip the desktop image: OpenMediaVault rejects installation when it detects a graphical desktop.

Hardware that works

HardwarePractical verdictQuirk to know
Raspberry Pi 5, 4GB or moreBest Pi choiceUse active cooling and the recommended 5V/5A supply; a weaker supply restricts power available to USB disks.
Raspberry Pi 4, 2GB or moreBest value if already ownedIts Gigabit Ethernet and two USB 3.0 ports are enough for a modest NAS. Use a proper 5V/3A supply.
Raspberry Pi 3B/3B+Supported, but a compromiseIt runs the required 64-bit OS, but older networking and USB make it the “use what is in the drawer” option.

Add a genuine microSD card for the OS, an Ethernet cable, and a USB 3 data drive. The OMV-Extras guide supports Pi 3B and newer and calls for Raspberry Pi OS Lite 64-bit plus wired Internet. Raspberry Pi recommends at least 8GB for the Lite image and lists the correct power supplies for each board. A 16GB-or-larger card leaves sensible working room. For a spinning disk, use an enclosure with its own power; Raspberry Pi warns that hard drives can fail intermittently without a powered hub or enclosure.

The stack: install OMV 8 on Raspberry Pi OS

There is no docker-compose file here. OMV manages the host’s network, NGINX, filesystems, and SMB service directly, so putting the NAS control plane in a container is unsupported and buys mostly complexity.

In Raspberry Pi Imager, choose your board, then Raspberry Pi OS (other) > Raspberry Pi OS Lite (64-bit). Confirm that it says Debian 13/Trixie, not Legacy/Bookworm. In Customisation:

  1. Set a hostname such as omv-pi, a non-default user, a strong password, and your locale.
  2. Enable SSH, preferably with a public key.
  3. Leave Wi-Fi unconfigured and connect Ethernet. The current OMV-Extras Raspberry Pi guide explicitly delays Wi-Fi setup until after OMV controls networking.
  4. Write and verify the card, insert it, connect Ethernet, and boot. Find its address in your router’s DHCP leases.

SSH into the Pi, update the base OS, run the documented pre-install preparation, and reboot:

ssh [email protected]
sudo apt-get update
sudo apt-get upgrade -y
wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/preinstall | sudo bash
sudo reboot

Reconnect, then run the maintained installer:

ssh [email protected]
sudo wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash

That command pipes a mutable script into a privileged shell. It is the project’s published method, but cautious operators should download and inspect the script first. Do not close the SSH client while it runs. The installer changes networking and reboots, so a disconnect is expected; check DHCP again if the address changed.

Open http://PI_ADDRESS/ from a LAN browser. The documented first login is admin / openmediavault. Change it immediately. After confirming youruser still has SSH access, disable root login under Services > SSH.

Create the data disk and SMB share

OMV expects the system card and data disk to be separate. In the web interface:

  1. Open Storage > Disks and confirm the USB drive’s model and capacity. Wipe only a new or disposable disk.
  2. Under Storage > File Systems, create an ext4 filesystem on a blank disk, or mount an existing supported filesystem. Creating a filesystem destroys existing data; mounting does not.
  3. Create a normal user under Users > Users, then create a folder under Storage > Shared Folders and grant that user access.
  4. Enable Services > SMB/CIFS > Settings, add the shared folder under Shares, disable guest access unless you genuinely need it, and apply the yellow pending-changes banner.

From Windows, connect to \\omv-pi\sharename; from macOS or Linux, use smb://omv-pi/sharename. Reserve the Pi’s DHCP address in your router rather than hard-coding a static address in two different places. Future you will already have enough mysteries.

Common installation problems

  • Installer refuses to run: verify uname -m reports aarch64, dpkg --print-architecture reports arm64, and the image is Trixie Lite without a desktop.
  • SSH or the web UI disappears: the installer probably rebooted or changed the lease. Check the router before re-imaging anything.
  • Networking is broken: attach a monitor and keyboard, sign in locally, and run sudo omv-firstaid.
  • The data disk disconnects: suspect the power supply, enclosure power, USB cable, or USB-to-SATA bridge before blaming Samba.

Storage and backups

One USB disk is storage, not backup. Use a second disk or another NAS as the backup target and configure Services > Rsync > Jobs for a scheduled local or remote push; OMV supports both local jobs and remote rsync over SSH. Keep an off-site copy of irreplaceable files. Rsync can faithfully copy accidental deletions, so pair it with snapshots or versioned storage at the destination.

Also copy /etc/openmediavault/config.xml with your backups. OMV describes it as a reference for rebuilding, not a one-click restore. Once per quarter, restore a representative folder into a temporary location and open several files. A green job log proves the copy ran; a restore drill proves the backup is useful.

Networking and remote access

Keep the admin page and SMB on the LAN. Do not raw port-forward either service. For private remote access, Tailscale is the least-annoying option: install it on the Pi, join the Tailnet, and restrict access with an ACL tag; Tailscale documents NAS access over its WireGuard-based network. MagicDNS also avoids memorizing another address.

Cloudflare Tunnel is reasonable for an HTTP application behind identity checks, but it is a poor fit for ordinary SMB access. A reverse proxy with ACME, Let’s Encrypt, and a DNS-01 wildcard certificate works, but it is more machinery than this NAS needs. Raw forwarding is simpler right up until it becomes an incident.

Operations: updates, logs, and alerts

Use OMV’s Update Management page and apply updates manually after reading the package list. Watchtower and Renovate manage container images or manifests, not the Debian host, so they do not solve this job. Configure System > Notification > Settings, enable SMART monitoring where the USB bridge exposes it, and check Diagnostics > System Logs when a share disappears.

Set a recurring reminder to review updates and backup results. Tech Sentinel is useful for broader patch and vulnerability triage, but OMV’s own notifications should be the thing that tells you this specific box needs attention.

Sources

  1. OpenMediaVault 8 Installation
  2. OMV-Extras installScript README
  3. OMV-Extras Raspberry Pi Installation Guide
  4. Raspberry Pi Getting Started Documentation
  5. OpenMediaVault 8 FAQ
  6. OpenMediaVault Rsync Documentation
  7. Tailscale NAS Documentation
#openmediavault #raspberry-pi #nas #self-hosting#home-server

Related