How to Set Up a NAS Drive (Network-Attached Storage) on a Raspberry Pi

Install Openmediavault to build a NAS server for your homelab.

HDD photo

Raspberry Pi Image Install

Flash your device with Pi Imager and use 32-bit lite, since Openmediavault (OMV) is not compatible with desktop mode.

SSH to your Pi and use password "raspberry".

PowerShell login

Update and unpack them by using sudo apt update and then sudo apt upgrade.

PowerShell update

On [Y/n], type Y and enter to start unpacking it to your device.

PowerShell updating

When the progress bar reaches 100% restart by sudo reboot.

PowerShell reboot

NAS Installation

To install, copy and paste the wget script on the terminal and press enter.

sudo wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
PowerShell CLI install

After pressing enter, OMV is now being installed and will take around 15-30 minutes. For now just sit down do some web browsing and drink some coffee!

Make sure you finish the update until it's completely finished or you have to repeat.

TIP: if the update stops, don't be alarmed, it's still updating. Wait till the remote host terminal is completely on closed.

PowerShell CLI finish install results

GUI Web Interface

After complete installation, go to your favorite browser put the IP of your Pi and use "admin" and "openmediavault" as the default login credentials.

OMV GUI login

You are done! Now you can use your Pi for a NAS!

OMV GUI dashboard