Worried about cloud privacy or unsure what to do with that Raspberry Pi you bought years ago? Here’s an idea you’ll love: turn it into a personal cloud server with Open Media Vault (OMV) for full control over storage, features, privacy, and customization.

First of all, what is NAS?

Network-attached storage (NAS) is a file storage system connected to a network, enabling multiple users and devices to access, store, and share data from one central location. It’s suitable for personal, corporate, or mixed-use.

To Set Up NAS, You Need the Following:


I'm using Windows, so the setup for Open Media Vault, Raspberry Pi Imager installation, and NAS access in File Explorer may differ for macOS and Linux.

How to Bake the Pi

1. Download the Raspberry Pi Imager

  1. Open your web browser and go to the official Raspberry Pi website
  2. https://www.raspberrypi.com/software/
  3. Click on "Download for Windows”



2. Install the Raspberry Pi Imager

  1. Once the installer is downloaded, locate it in your Downloads folder (it will probably be named imager-setup.exe).
  2. Double-click the file icon to run the installer.


  1. Follow the on-screen instructions to complete the installation. Typically, this involves: a)Agreeing to the terms and conditions. b) Select the installation location (or use the default location).c)Click Install to start the process.

Launch The Imager

Search in the search menu for the imager by typing its name and launching it.

Burn the Image

Insert a microSD card or USB drive into your computer.

Select the correct version of your Raspberry Pi.




Setting up NAS(Raspberry Pi)


Note the IP address of your Raspberry Pi and ensure that both your computer and the Raspberry Pi are connected to the same network.

ssh <username>@<ip>

If you get something like this:-


@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@  
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @  
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@  
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!  
Someone could be eavesdropping on you right now (man-in-the-middle attack)!  
It is also possible that a host key has just been changed.  

The fingerprint for the ED25519 key sent by the remote host is  
SHA256:yC9xSHKdd8qc98ekXQge/LTY4giXVQDui2RnytkpqBQ.  

Please contact your system administrator.  
Add correct host key in `C:\Users\user/.ssh/known_hosts` to get rid of this message.  

Offending ED25519 key in `C:\Users\user/.ssh/known_hosts:4`  
Host key for `192.168.xx.xx` has changed and you have requested strict checking.  
Host key verification failed.  



You should see this on your screen right after:

Now you can controll your pi without even touching it.

This process will take time… so please be patient.

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

This might take up 30 minutes to complete.

You’re done with the installation!

Setting up Open Media Vault(OMV)

The Raspberry Pi's IP address might change after a reboot. Follow these steps to proceed:

  1. Reboot the Raspberry Pi.
  2. Take note of the updated IP address.
  3. Open a web browser on your computer and enter the Raspberry Pi's new IP address into the search bar.

Here’s a simplified version:

  1. Set your desired password and click Save.
  2. Open Command Prompt, SSH into the Raspberry Pi as before, and enter the command:
bashCopyEditip route show  


  1. You’ll see an output like this:
scssCopyEditdefault via 192.168.xx.xxx dev end0 proto dhcp src 192.168.xx.xx metric 100  
192.168.xx.xx/24 dev end0 proto kernel scope link src 192.168.xx.xx metric 100  
192.168.xx.x dev end0 proto dhcp scope link src 192.168.xx.xx metric 100  
  1. Note the IP address after default via, e.g., 192.168.xx.xxx.

This is your Network’s IP /Gateway.




sudo omv-firstaid

Next, configure network interface:



Navigate using the arrow keys and press enter to agree

press yes or no as per this table:-


Prompt

Value

Do you want to configure IPv4 for this interface?

Yes

Do you want to use DHCPv4 for this interface?

No


Set the IP to the one you're currently using to connect to the Pi to avoid disconnection.




Next, navigate using the arrow keys and press enter to agree

Use the following guide:

Do you want to configure IPv6 for this interface?

No


Please enter the DNS name server. If you don’t want to use any name server, just leave this field blank.

Okay


Do you want to enable WOL for this interface?

No


Next, you’ll see the prompt:


Configuring the network interface. Note, the IP address may change and you may lose connection. Please wait.


If you see this message, it means you've done a good job!


This may take a little time, so please be patient.


Afterward, insert the disk (where all the files will be saved) into your computer.


Be careful to not select one of your SSDs or hard drives in your computer by mistake. Additionally, if the storage device you plan to use for the project contains important data, make sure to back it up beforehand, as all data on the device will be erased.






Make sure to note the name you’ve chosen for the drive.


For Linux and Mac users, enable NFS, and the setup process for NFS will be similar to that of SMB. This is the basic setup. If you’d like, feel free to experiment and explore the wide range of plugins available for customization.



Well Done! 😀 You’re done with the difficult part!

Setting up the Drive in Windows

You will be prompted to enter your credentials.


Well done! You’ve completed the project.


Thanks, for reading!
Shivank Dan.