Skip to content

Build Your own Network Attached Storage on Rasbperry Pi using Open Media Vault

Network Attached Storage

Looking to create your own Network Attached Storage (NAS) on a budget? With a Raspberry Pi and OpenMediaVault (OMV), you can turn your Pi into a powerful, energy-efficient NAS solution. Whether you’re storing personal files, media libraries, or backups, this DIY project allows you to access your data securely from anywhere, without the costs of commercial alternatives. In this guide, we’ll walk you through the steps to set up your own NAS using OpenMediaVault on a Raspberry Pi, making it an ideal solution for tech enthusiasts and beginners alike.

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 – admin

password – openmediavault

Change them

Enable 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:

  1. Connect the Hard drive
  2. Check the following option:

It should show the SD card and the Harddrive:

Setup the FileSystem

Select File Systems → Hard Drive → Mount

Then, select the Hard Drive and click save

Now, confirm the changes by clicking on the tick in the yellow box.

Give it some time to complete the configuration changes and we can see the following:

Add Shared folders:

We will now add the folders from the Hard drive that we want to share

Go to Storage → Shared Folders → Create.

We want to share the folder named “Movies” and we select that in the available folders in the third option.

The first option is the name how it will appear. You can give it any name you want.

Accessing the Hard Drive:

We need to use services like NFS (Linux/Mac) or SMB (Windows)

Services → SMB → Settings → Enable

 

Click Services → SMB → Shares → Create

 

Mapping the Network Attached Storage to Windows:

Open ‘This PC’, right click and add network location

enter \\\\raspberrypi.local\\Movies

Enter 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.

Leave a Reply

Your email address will not be published. Required fields are marked *