In the article RaspberryPi – NetworkAttachedStorage / build your own NAS from a RaspberryPi 4, I had already described that the (relatively) new Raspberry Pi 4B is also very well suited to building an inexpensive but powerful "Network Attached Storage" or NAS.
A NAS is a hard drive that is connected to the network and thus makes the data available in the entire network. So you can access it from multiple computers or smartphones. This is useful, for example, as a data store for family photos or as a backup drive for the data on your computers.
Open Media Vault or OMV for short is a package that brings many important functions for a NAS. It can be installed very easily on a Linux computer (also on a Raspberry Pi) and then conveniently configured via a web interface. So you can set up file sharing relatively easily or set up a media server to stream content to your Smart TV.
How you can install Open Media Vault on your Raspberry Pi is described in the following article.
Safety instructions
I know the following hints are always a bit annoying and seem unnecessary. But unfortunately, many people who knew it "better" from carelessness lost their eyes, fingers or other things or hurt themselves. In comparison, a loss of data is almost not worth mentioning, but even these can be really annoying. Therefore, please take five minutes to read the safety instructions. Even the coolest project is worth no injury or other annoyance. https://www.nerdiy.de/en/sicherheitshinweise/
Affiliate links / advertising links
The links to online stores listed here are so-called affiliate links. If you click on such an affiliate link and store via this link, Nerdiy.de receives a commission from the online store or provider concerned. The price doesn't change for you. If you do your purchases via these links, you will support Nerdiy.de in being able to offer further useful projects in the future. 🙂
Requirements
Helpful articles:
Before you start this article, you should have prepared a Raspberry Pi so that it can be reached via the network and controlled via SSH.
The following articles describe what needs to be done to prepare the Raspberry Pi.
- RaspberryPi - Setup for nerdiys!
- RaspberryPi - The first configuration!
- RaspberryPi - Control the RaspberryPi via SSH
In the following lists you will find all the parts you need to implement this article.
Required tool:
Number | Link |
---|---|
1x | Screwdriver set Buy at Amazon |
1x | SD card reader Buy at Amazon |
Required material:
Number | Link |
---|---|
1x | Raspberry Pi Buy at Amazon |
1x | Raspberry Pi power supply Buy at Amazon |
1x | Raspberry Pi case Buy at Amazon |
1x | Micro SD card 64GB Buy at Amazon |
Prepare the Raspberry Pi image
An important detail when installing OMV on the Raspberry Pi is that you use the Raspberry Pi image from the Raspberry Pi OS without a desktop interface. OMV cannot be installed on a Raspberry Pi OS incl. desktop interface.

and select a version of Raspberry Pi OS without "desktop environment".
Then install this image on the SD card of your Raspberry PI. You can find more information about the installation in the article
Log in via SSH on the RaspberryPi
To get started, you first need to log in to RasPi with SSH on Putty. How to do it is described in the article

Update package management
The package management in Linux is a "central point" over which various software packages can be installed. For this to work reliably, the lists and sources of package management should be updated before installing any new packages.

sudo apt-get update && sudo apt-get upgrade



Install OpenMediaVault on the Raspberry Pi
Installing Open Media Vault is super easy thanks to an installation script. So only one command has to be executed to start the installation. Information about the installation script can be found in the associated Git repository under the following link.

To start the installation of Open Media Vault you have to enter the following command in the console of your Raspberry Pi.
sudo wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudobash

Towards the end of the installation, the network interfaces are also restarted.
This interrupts the SSH connection, which is why you cannot see any further information about the installation process.
In this case, simply wait another five minutes. The installation should then be complete and you can proceed to the next step.
The first login and change default password
The installation of OMV should now be complete. You can now log in to the OMV web interface.

To do this, enter the address of your Raspberry Pi in the address bar of your browser.
You can find out the address by entering the following command in the console of your Raspberry PI.
hostname -I

Arrived on the configuration interface, you can then log in with the following standard login data.
- Default username: admin
- Defaultpassword: openmediavault

After the first login you should(!) change the default password.
Remember: Many IT attacks are only possible because administrators have not changed default passwords.
More articles related to Open Media Vault
This completes the installation of OMV. I have described the many other functions in other articles. There you will also find information on how to expand the functionality of your OMV installation accordingly. These articles are all grouped into the following categories.
Have fun with the project
I hope everything worked as described. If not or you have any other questions or suggestions, please let me know in the comments. Also, ideas for new projects are always welcome. 🙂
P.S. Many of these projects - especially the hardware projects - cost a lot of time and money. Of course I do this because I enjoy it, but if you appreciate that I share this information with you, I would be happy about a small donation to the coffee box. 🙂
Hi everyone,
When creating the image on the SD card, please remember to create a user and password. Under advanced setting. Otherwise it is no longer possible to log in via SSH from Bullseye. The default user and password have been removed from Bullseye.
Thanks for the tutorial.
Greetings Michael
Hi Michael,
thanks for the hint. I hadn't even noticed. 🙂
Best regards
Fabian
Sehr gute Beschreibung und alles hat funktioniert. Kurz gehalten und kein Gelaber, was man von YouTube kennt. Einfach TOP und vielen Dank!!!! Besser kann man unwissende nicht schlauer machen 🙂
Gerne, danke für das Feedback. 🙂
Best regards
Fabian
Hello all,
danke für das tolle Tutorial zu dem Thema. Hat wunderbar funktionioniert, allerdings habe ich das Problem, das ich die externen HDDs die ich OMV eingebunden habe, im Windows Explorer zwar angezeigt werden,auch mit Speicherbelegung usw., aber die Ordner als leer angezeigt werden.
Es sind 2 3,5 Zoll HDD’s mit externen Stromanschluss. Wie gesagt, in OMV werden sie erkannt und ich konnte sie sauber einbinden und auch sharing verlief reibungslos.
Eine andere SSD(NVme) die ich in einen Adapter eingebaut habe, konnte ich im Explorer einbinden und da wurden mir alle Daten angezeigt. Der einzige Unterschied ist hier, das diese HDD im BTRFS formatiert ist und die anderen in NTFS.
Benutzerrechte können es normal nicht sein, da die Vorgehensweise die gleiche wie mit der gleichen war.
Hat jemand einen Tipp von euch?
Thanks and regards
Markus