Build your own NAS! A custom Raspberry Pi build with OpenMediaVault and an Argon One M2 Case

preview_player
Показать описание
If you want to build a Network Attached Storage device on a Raspberry Pi, this video is for you. Using a Raspberry Pi 4, the Argon One M.2 case, and OpenMediaVault - I show you how to build a NAS of your very own. I'll cover an unboxing of the case, assembly, OS tweaks, and I'll go over a one-line command to install OpenMediaVault.

*⏰ TIME CODES*
01:26 - What do you need to get started?
03:51 - Downloading Raspberry Pi OS and Preparing the SD card
07:27 - Unboxing the case and assembly
18:59 - Setting the hostname, updates, tweaks, etc
22:17 - Installing the safe shutdown script
23:13 - Installing OMV and formatting the SSD

# LearnLinuxTV Links
🐧 Main site:

🐧 LearnLinuxTV Community:

📖 Wiki article for this video:

🛒 Components used in this video (commission earned):

🐧 Raspberry Pi OS downloads:

🐧 usbimager download:

📖 Info on locales:

# Support LearnLinuxTV (commission earned)
📖 Check out Jay's latest book, Mastering Ubuntu Server 4th Edition. Covers Ubuntu 22.04!

🙌 Support me on Patreon and get early access to new content!

🛒 Affiliate store for Linux compatible hardware/accessories (commission earned):

💻 Check out the Tiny Pilot KVM for your Homelab (commission earned):

# About Me
🐦 Follow me on Twitter!

👨 More about me:

# Recommended evergreen videos:
💽 How to create a bootable flash drive for installing Linux

🐧 OpenSSH Guide

📖 LVM Deep-dive:

🔐 How to better secure OpenSSH:

☁️ How to create a cloud Linux server with Linode:

*📘 FAQ*

# My recording gear (commission earned):

#RaspberryPi #Linux #OpenMediaVault
Рекомендации по теме
Комментарии
Автор

I’m very new to the world of the SBC and chose the 8gb RAM Raspberry Pi 4 and the Argon One M.2. I even have the same Kingston A400 240Gb SSD. I have nothing to compare it to but I have to say I’m really pleased this set up, thus far I've not found it lacking in any way for the purpose I bought it. Even though I've overclocked CPU to 2GHz and GPU to 750 I have never been at over 56°C, but I don’t do any gaming and stick to basic computing on it. You’ve now given a good reason to buy another.

markharrisllb
Автор

Thank you for a good practical project. I recommend that you also try to configure the Raspberry Pi to boot from the SSD and there by eliminating the need to access the SD card inside the Argon case. The SSD boot can be configured from the raspi-config utility directly.

shaileshsaxena
Автор

Hello Jay.

I have the same setup, . but booting from the M.2 which increases the I/O speed and boot time dramatically (...and I also don't trust SD-Cards that much hehe...).

In case someone doesn't know how to:

1. do the standard SD-Card setup, but don't attach the bottom of the case with M.2 or USB3-Adapter for now. Just leave the case open and put it aside. So, you start the RPi without the USB3 adapter and without the bottom of the case attached, but with the SD-Card in.

2. Start the Pi

3. when started up, attach the bottom of the case and the USB3 adapter. Now the system will find the new M.2. in /dev/

4. use the command: lsblk to find the device name of the M.2, where we want to write the whole system from SD-Card on it. Let's say, it's /dev/sdb
Also, note the name of the system, the SD-Card.

6. Now we just copy the whole system from the SD-Card to the M.2: dd bs=4M if=/dev/NameOfSystemDrive of=/dev/NameOf_M.2_Drive status=progress So for example: dd bs=4M if=/dev/sda of=/dev/sdb status=progress

In case the command is not working, double check that you have the capital "M "in the bs=4M part.

This takes a while. When done, shut down the RPi and remove the SD-Card. Put the case & USB3 adapter together and start the RPi with lightspeed ;-)

That's it, happy weekend and thanks for your great work Jay, I learn a ton from your book and videos.

TradersTradingEdge
Автор

Nice to see OMV being looked at. I use it on a HP deskelite Sff 4th gen I5. I mainly use docker containers, but if you allow testing plugins, then you can use a new KVM plugin.
The developer is starting to try and get Arm stuff working.
But its nice to be able to spin up VMs from OMV.

Looking forward to see what happens

try-that
Автор

I went from a Pi NAS to getting a WD cloud NAS (Reading how much better it would be). I started getting random freezing while transferring files and it's just horrible in general. Decided to go back to my PI 4 NAS, again. Should have never bought that damn thing. Hope to try out this video tutorial and get it all setup again. Thanks!

woolfy
Автор

Funny how I was looking for exactly this!

wingkeung
Автор

The bottom part could be expanded to a double drive with mirrored drives, argon or other could do it, any m2 expanders ?
Powering it may be the bottleneck, but if bottom shell is replaced that could have a powerjack for the drives(+pi).
Sd card can be removed if you activate usb boot.

jyvben
Автор

I love your tutorials.... Simply the best around imo

ShyneflowLC
Автор

It's been a little bit since I've been able to watch a video. The new intro is awesome.

MySqueezingArm
Автор

I like the fact that I can upgrade my existing Argon One case to add the M.2 option.

waynenewark
Автор

@4:42. Not entirely correct: Actually you cant install OMV on a desktop version of pi. Installer abort with an error stating this.

gittesilberglarsen
Автор

I am going to hopefully be putting mine together as my m.2 board came!

AdHdEntertainmentLLC
Автор

You do a great job! Best learning video on You Tube. Thank you!!!

nickkobe
Автор

How about forgoing the SD card and booting and running from USB drive. Seems to me an SD card with reads and writes would wear out?

LennyLacey
Автор

Amy help on how I would be able to access the nas Thati set up using this when I'm not home?

ShyneflowLC
Автор

Maybe some info on the Backup option in the Systems section

mrmotofy
Автор

Thanks for the demo and info, I finally was able to get around my Argon purchase, and with this video, setup everything plain easy. Have a great day

chrisumali
Автор

Do you have an updated version of this video for 2024 using Pi 5?

jacquesredmond
Автор

One more question: can I run OMV in my RPi zero? :D

vakobolt
Автор

What i need to do to access this NAS files anywhere in the world with internet?

In Windows, i used this google drive for desktop application. I want to mimic this with my NAS. Instead of paying for storage on google drive for my data, i would rather have my own NAS cloud.

You don't have to teach me how to do this. You just guide me towards the right path and I'll learn all the required skills by my own for this to happen.

SpicyPoison