Table of Contents
KEY TAKEAWAYS
- Open Media Vault (OMV) turns a Raspberry Pi into a network-attached storage (NAS) device
- Install OMV on Raspberry Pi OS and connect an external USB drive for storage
- Configure shared folders and user permissions through the OMV web interface
- SMB/CIFS and NFS protocols allow file access from Windows, Mac, and Linux devices on the network
Install
wget -O - <https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install> | sudo bash
The installation will take some time to complete.After installation, SSH is not possible because openmediavault disables it.Login:
Open the ip address of the pi on browser. Default:username – adminpassword – openmediavaultChange themEnable SSH:
Go to users and select the existing user. It should be the same one as on the raspi. Enable the SSH permission.Setup the Network Attached Storage (NAS)
Check if Disk is detected:
- Connect the Hard drive
- Check the following option:


Setup the FileSystem
Select File Systems → Hard Drive → Mount



Add Shared folders:
We will now add the folders from the Hard drive that we want to shareGo to Storage → Shared Folders → Create.

Accessing the Hard Drive:
We need to use services like NFS (Linux/Mac) or SMB (Windows)Services → SMB → Settings → Enable


Mapping the Network Attached Storage to Windows:
Open ‘This PC’, right click and add network locationenter\\raspberrypi.local\MoviesEnter the username and password. And you are done.You now have your own Network Attached Storage. And using the same processes, you can add more Hard Drives to it, more folders etc.
Vivek Bhageria — Lead Firmware R&D Engineer, 12+ years. Ex-Bosch (automotive powertrain), MusicTribe (real-time audio), medical devices. M.Tech BITS Pilani. I write at NerdyElectronics — practical, register-level embedded systems for engineers who want to understand what’s actually happening under the hood.







