From Bare Metal to Homelab: Setting Up OpenMediaVault the Right Way
Setting Up OpenMediaVault with Docker, Samba, and RAID 5
After testing a few NAS operating systems, I landed on OpenMediaVault (OMV) for its simplicity, flexibility, and great Docker support. Here’s a quick rundown of how I got everything up and running on my custom NAS build.
Step 1: Installing OpenMediaVault
- Download the latest OMV ISO from the official website.
- Flash it to a USB drive using Rufus.
- Boot from the USB and follow the installation steps.
- Once installed, access the web UI at
http://<your-nas-ip>using:- Username:
admin - Password:
openmediavault
- Username:
Step 2: Setting Up RAID 5
Assuming you have at least 3 identical drives:
- Go to Storage > Disks and wipe each drive.
- Navigate to Storage > RAID Management and:
- Create a new array
- Select RAID 5
- Choose your drives
- Wait for the array to sync.
- Head to Storage > File Systems, create a new file system (ext4 recommended), and mount it.
Step 3: Creating a Samba Share
- Go to Access Rights Management > Shared Folders:
- Create a shared folder on the RAID volume.
- Go to Services > SMB/CIFS:
- Enable the service
- Add your shared folder under the “Shares” tab
- Set up user permissions under Access Rights Management > Users.
Step 4: Installing Docker with Portainer
- Install the OMV-Extras plugin:
- Download from GitHub
- Install via System > Plugins
- Once installed, go to OMV-Extras:
- Enable Docker and Portainer
- Access Portainer at
http://<your-nas-ip>:9000to manage containers.
Final Thoughts
OMV made it super easy to get a full-featured NAS running with:
- Docker support
- Samba file sharing
- RAID 5 redundancy
It’s lightweight, stable, and a perfect fit for anyone building their first homelab server.