After a few years of proudly owning a pc, one invariably finally ends up with just a few spare inside or exterior/USB exhausting drives. The Raspberry Pi is a reasonable and vitality environment friendly technique of changing these into network-attached storage (NAS). The Raspberry Pi 4’s USB 3.Zero and gigabit Ethernet ports specifically make it an excellent candidate for a quick and feature-rich community storage resolution.

We have already got a information on changing your present Raspberry Pi right into a easy NAS. This information, nevertheless, is supposed for many who search to harness the true energy of the Raspberry Pi Four with a bespoke Linux distribution constructed from the bottom as much as run as an NAS resolution. OpenMediaVault 5 (OMV5) won’t solely ship all of the options of a fundamental Samba share, however it has much more highly effective options and functionalities.

Right here’s What You Want

Listed below are the necessities you will have earlier than we will proceed.

1. Raspberry Pi: The Raspberry Pi Four will ship one of the best efficiency, however OMV5 works on Mannequin 2B and onwards as nicely.

2. Storage: OMV5 is finest put in on an 8GB microSD card. Bigger capacities work as nicely however are wasteful as a result of the NAS-specific distro takes up the complete area. Samsung or SanDisk Class 10 microSD playing cards rated A1 are our greatest wager. You may both use exterior USB exhausting drives as NAS drives or repurpose inside exhausting drives by putting in them into USB exhausting drive enclosures.

3. Instruments for Prepping OS Picture: You’ll want the newest Lite model of the Raspberry Pi OS together with the official SD card formatting device, Raspberry Pi Imager, and a pc able to writing the OS picture to the microSD card.

4. SSH Shopper: The set up course of would require connecting to the Raspberry Pi by way of SSH.

5. Wired Community Entry: An NAS works finest when it’s linked to the house community utilizing an Ethernet cable. Wi-fi connections are neither secure nor quick sufficient for this goal. OMV5 is designed to work as a headless server, so you’ll be able to safely place the Raspberry Pi subsequent to the router. You received’t be hooking up a show or enter units to it.

Putting in Raspberry Pi Lite OS

To get began, we have to set up Raspberry Pi OS. Be completely certain to obtain the Lite model and keep away from the common ones with the desktop for max compatibility.

Set up the Raspberry Pi OS Lite to the microSD card utilizing our wonderful information.

As soon as put in, take away the microSD card from the cardboard reader and reinsert it. Open Home windows Explorer and navigate to the microSD card. Proper-click on any clean space throughout the file view of the microSD card and choose “New -> Textual content Doc.”

How to turn your Raspberry Pi with OpenMediaVault into a NAS

It’s best to see the brand new file as “New Textual content Doc.txt.” If the extension is just not seen, you could drive Home windows to show the file extensions by accessing the Home windows Explorer Choices menu to vary the setting. Proper-click the textual content doc and choose “Rename.”

Change the title of the file to “SSH”. This step is important to permit distant SSH entry to the Raspberry Pi for set up functions. Ignore the next warning by choosing the Sure possibility.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

Take away the microSD card out of your PC and insert it into the Raspberry Pi. Hook it as much as the community with an Ethernet cable and energy it on.

Discovering the IP Deal with

After the Raspberry Pi powers up, we might want to discover its IP handle to have the ability to ssh into it. There are a selection of how to do this. You may log into the admin panel of your router and entry the shopper checklist. The precise location of the shopper checklist within the router menu will range from router to router, however it’s usually straightforward to seek out.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

The machine might be listed as “raspberrypi.” Make a remark of the assigned IP handle as highlighted within the screenshot above. Alternatively, you’ll be able to entry the “DHCP Server” part out of your router menu and use the “Deal with Reservation” function to completely assign a static IP handle to the NAS.

In case you don’t wish to hassle with the router’s administration panel, confer with our helpful information on utilizing Offended IP scanner to seek out out the IP handle of any machine on the community, together with the Raspberry Pi.

In case you nonetheless can’t discover the IP handle, connect a monitor and keyboard to the Raspberry Pi, log in to it, and kind ip add within the command line. Observe the IP handle displayed subsequent to the Ethernet interface.

SSH into the Raspberry Pi

1. Head over to Home windows’s PuTTY or open a terminal in any Linux laptop. SSH into the Raspberry Pi.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

2. Click on Sure on the safety alert that pops up. That is anticipated conduct for the primary login.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

3. Log in as “pi” with “raspberry” being the default password.

4. Sort passwd as soon as the command line immediate reveals up put up profitable login to vary the default password. Be sure you use a powerful password.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

5. Earlier than we set up OMV5, first replace/improve the OS to the newest model:

How to turn your Raspberry Pi with OpenMediaVault into a NAS

6. Reboot the Raspberry Pi:

Putting in OpenMediaVault 5

SSH to the Raspberry Pi once more after it reboots. Set up OMV5 with the command:

The set up course of will take roughly 30 minutes, so go away the pc alone to keep away from interrupting the method. The Pi will reboot mechanically upon profitable set up.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

OMV5 First Login and Primary Setup

1. In your laptop’s browser, enter the Raspberry Pi’s IP handle within the URL bar to open the online interface for OMV5. The default username is “admin,” and “openmediavault” is the default password.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

2. Go to the “Normal Settings” possibility beneath the Settings menu, which is able to take you to the “Net Administration” tab. Change the “Auto Logout” setting from 5 minutes to sooner or later to stop shedding settings as a result of a timeout.

Click on the Save button and await the affirmation bar to pop up on the prime of the window. Click on on Sure and one other affirmation immediate will pop up in the course of the window. Click on Sure on this one as nicely to decide to the settings.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

3. Transfer on to the adjoining “Net Administrator Password” tab to vary the default password to one thing safer. Hit Save after you’ve got entered the password.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

4. Head over to the “Date & Time” sub-menu and choose the suitable “Time zone” from the drop-down menu. Allow the “Use NTP server” toggle button to make use of the Community Time Protocol for correct and constant timekeeping.

Click on on the Save button and choose Sure on the 2 subsequent affirmation prompts. This course of should be repeated every time you save settings after making adjustments, so you should definitely await the affirmation prompts in the event that they don’t present up instantly.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

5. With the fundamental settings in place, head over to the “Replace Administration” sub-menu. Within the Updates tab, click on on the “Verify” button to search for updates.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

6. Choose all packages by enabling the checkboxes on all pending updates. Click on on the “Set up” button to provoke the updates. This may take a couple of minutes, so seize one other cup of espresso. Choose “Shut” on the set up progress pop-up after the updates have been put in. The web page will subsequently reload pending affirmation from you.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

Making ready Storage for OMV5

1. Head over to the “Storage” menu and enter the “Disks” sub-menu. You may see the microSD card housing OMV5 highlighted in yellow within the screenshot beneath. The drive listed beneath the microSD card is the 1TB exterior exhausting drive that might be used for storage.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

Observe: skip to “Step 3” in case your exterior exhausting drive is already populated with information and also you in any other case don’t wish to wipe it clear.

To wipe the drive clear of present information, click on on the proper drive and hit the “Wipe” button. This is applicable to recent clean drives, or when you in any other case want to begin with a clear slate. You’ll be offered with a affirmation immediate, adopted the selection between “Fast” or “Safe” wipe strategies.

Transfer to the “File Techniques” sub-menu.

2. In case you wiped the exhausting drive clear within the earlier step, it will likely be absent right here as a result of it lacks a file system. That’s your cue to click on on the “Create” button and format the drive with the file system of your selecting.

Within the subsequent pop-up window, choose the specified exhausting drive from the System drop-down menu. Sort in a reputation for exhausting drive within the Label subject. Lastly, select the “EXT4 Filesystem” from the drop-down menu as a result of it’s going to ship one of the best efficiency on this native Linux working system. Click on OK and settle for the following affirmation prompts.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

Observe: A drive formatted with the EXT4 filesystem can solely be accessed by a Home windows machine over the NAS. The Linux-based filesystem won’t be acknowledged if drive is attached on to a Mac or Home windows PC. Formatting a brand new drive to the NTFS file system on a Home windows machine won’t solely enable it for use with the NAS, however that may even present the pliability of disconnecting it from the NAS with a purpose to bodily entry it from one other Home windows machine.

3. Choose the exterior exhausting drive and click on on the Mount button.

Creating Customers and Assigning Privileges

OpenMediaVault 5 permits a granular management over consumer accounts whereas incorporating the aptitude to assign various levels of privileges on a per-user foundation. This can be a nice solution to decide and select who has learn/write entry to varied shared folders on the NAS.

1. Transfer on to the “Person” sub-menu throughout the “Entry Rights Administration” menu. Within the “Customers” tab there, it is best to see the account “pi.” This account has entry to each single group governing important system capabilities.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

2. Click on on the “Add” drop-down menu with the plus signal. Click on on the next “Add” button to convey up the “Add consumer” pop-up window. Enter the title of the consumer, adopted by an non-obligatory descriptive remark and the e-mail handle.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

3. Click on on the “Teams” tab in the identical “Add consumer” pop-up menu so as to add this consumer to related teams. The “customers” group could have been chosen by default. Click on on the checkbox subsequent to the “sudom” “ssh,” and “sambashare” group choices. Click on on the Save button to commit to those adjustments.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

You may repeat the method to create further customers, however be sure to solely give entry to the “sambashare” group along with the default customers group for extra accounts. Having separate accounts for members of the family makes it simpler to maintain your shared folders non-public if wanted.

Setting Up Shared Folders

Earlier than we will transfer to the Settings tab inside this sub-menu, we should arrange the shared folders first.

1. Skip to the “Shared Folders” sub-menu. Click on on the Add button to create a brand new shared folder. Begin by making a folder containing recordsdata that might be shared between customers and subsequent OMV5 plugins and purposes.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

Within the subsequent “Add shared folder” pop-up window, enter the title of the folder. We are going to go along with Widespread for this one. Use the System drop-down menu to pick out the exterior drive that we mounted earlier. Since it is a shared folder, choose the “Everybody: learn/write” possibility within the “Permissions” drop-down menu. Click on on the Save button.

2. We are going to now create a Motion pictures folder that may be accessed by company on the community, however solely customers with authentic accounts (members of the family, for instance) can add, delete, or modify content material throughout the folder. Observe the method within the final step however choose “Administrator: learn/write, Customers: learn/write, Others: read-only” within the Permissions drop-down menu.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

You may even prohibit anybody besides members of the family from accessing sure folders (containing household pictures, for instance) by choosing the choice containing the argument “Others: no entry” from the Permissions drop-down menu.

3. It’s also potential to limit everybody besides your self from accessing delicate folders and even decide and select which customers have entry to particular folders. We will do that by highlighting the specified folder and clicking on the “Privileges” button on the prime.

This may convey up the “Shared folder privileges” pop-up window, the place you may give read-write entry to your self and different customers by ticking on the suitable checkboxes as illustrated within the screenshot beneath. Right here we now have restricted customers “shashi” and “zoe” from accessing the Work folder. Click on on the Save button to finalize the adjustments.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

Referencing Folders by way of CIFS

The following step includes referencing these folders in OMV5 to make them accessible over the community. Head over to the “Companies” menu to just do that. You may select between “NFS” and “SMB/CIFS” protocols for community sharing. The latter is advisable for Home windows and Mac customers because it has wider compatibility between working methods.

1. Enter the “SMB/CIFS” sub-menu, and you can be offered with the Settings tab. Skip to the “Shares” tab for now. Click on on the Add button to see the “Add share” pop-up window.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

The toggle button for “Allow” ought to be enabled (inexperienced) by default. Choose the Widespread folder we created on our exterior exhausting drive from the “Shared Folder” drop-down menu. Since it is a shared folder, we are going to choose the “Friends allowed” possibility from the “Public” drop-down menu. The toggle choices for “Set Browseable” and “Honor Current ACLs” ought to be enabled by default. Click on on the Save button.

2. The method is comparable for different folders. It’s price noting that choosing the “No” possibility from the Public drop-down menu as an alternative of “Friends allowed” prevents anybody besides registered customers from accessing the shared folder. This can be a nice choice to, say, prohibit anybody however your loved ones from accessing household pictures on the NAS.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

3. With the shares arrange, navigate to the Settings tab in the identical “SMB/CIFS” sub-menu. Click on on the “Allow” toggle button within the “Normal Settings” part to make it inexperienced. Hit the Save button to decide to the adjustments.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

Accessing the NAS Over the Community

Your OMV5 set up has been configured identical to that. Now all you have to do is entry it from one other laptop on the community.

1. With OpenMediaVault 5 configured and the shares arrange, head over to a Home windows PC to entry the NAS. Open the File Explorer and head over to the Community part. Your Raspberry Pi NAS working OMV5 ought to present up with the default hostname “RASPBERRYPI.” Double-click on it to entry the checklist of shared folders we now have created within the NAS.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

2. When you’ve got bother finding the NAS, head to the Home windows Management Panel and comply with the trail highlighted within the screenshot beneath to entry “Superior Sharing Settings” within the Community and Sharing Middle. Allow the “Community Discovery” and “File and Printer Sharing radio” buttons in the event that they aren’t already.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

If that doesn’t resolve your drawback, merely press Win + R to convey up the Run dialogue field. Enter the IP handle of your NAS suffixed with two consecutive backslashes and hit enter to entry the NAS. For instance, I’ve to enter \ to entry my NAS. The identical may also be entered within the handle bar of the File Explorer window.

3. After you have entry to the NAS, double click on on the Widespread folder to confirm when you can entry it.

For the reason that Widespread folder is open to everybody, accessing it’s a easy matter of double-clicking the folder. Nevertheless, solely authentic customers can entry the Pictures and Work folders with restricted entry. Double-clicking on such folders will open a dialogue field the place you’ll be able to enter the consumer title and password to the suitable account.

How to turn your Raspberry Pi with OpenMediaVault into a NAS

If the consumer title subject is greyed out, click on on “Extra selections” and choose “Use a distinct account.” This may mean you can enter any consumer title. Verify the “Bear in mind my credentials” possibility if you wish to keep away from manually logging in every time you entry the folder on the present machine.

That’s it. You will have efficiently created an NAS along with your Raspberry Pi. There are many initiatives you are able to do with a Pi, too, reminiscent of working a minecraft server, a DIY chromecast, or perhaps a retro gaming machine. Try our Raspberry Pi’s challenge web page for extra fascinating initiatives.


How to turn your Raspberry Pi with OpenMediaVault into a NAS
Nachiket MhatreRising up, Nachiket had a penchant for disassembling family electronics and home equipment; most of which couldn’t be reassembled efficiently. His mother and father didn’t approve. As of late, he leverages his lifelong pursuit of dissecting devices to write down about know-how. His mother and father nonetheless don’t approve.

Is this text helpful?

omv_rpi2_rpi3_3.0.63.img.gz download,openmediavault raspberry pi 1,openmediavault raspberry pi zero,omv 5 install,synology nas – raspberry pi,magpi raspberry pi nas,github openmediavault,openmediavault raspberry pi noobs,raspberry pi 3 nas setup,hashicorp vault raspberry pi,openmediavault raspberry pi raid,openmediavault ubuntu,raspberry pi 4 nas case,raspberry pi 4 nas reddit,omv vs samba,quad sata hat for raspberry pi 4,raspberry pi samba external drive,raspberry pi nas raid,openmediavault alternatives raspberry pi,openmediavault raspberry pi 4 plex,raspbian lite omv,raspberry pi omv password,raspberry pi 1 as a nas,raspberry pi nas ios,smb nas server,raspberry pi nas windows 10,pi zero nas,dietpi nas,openmediavault raspberry pi 4 download,omv 5 raspberry pi,raspberry pi 4 freenas,pi nas server,sunfounder nas kit,raspi sunfounder,sunfounder raspad,sunfounder rc toy store,openmediavault raspberry pi,openmediavault raspberry pi 4,raspberry pi nas,openmediavault 5 raspberry pi 4,install openmediavault on raspberry pi,omv_4_raspberry_pi_2_3_3plus_4.img.xz download,open media vault raspberry pi 2,raspberry pi samba nas