How to Make a Raspberry Pi NAS - A NAS-Berry that Runs OpenMediaVault
Vložit
- čas přidán 7. 06. 2024
- Full guide here: (Inc. Auto-Backups, Port Forwarding & Multiple Hard-drives) - core-electronics.com.au/guide...
As a Maker there is a huge amount of benefit to be had by joining the NAS bandwagon. So welcome to the best guide on setting up an OpenMediaVault based NAS on a Raspberry Pi Single Board Computer! The NAS created here can be scaled up to any size you'd like, this is a speed run on the overall process. Raspberry Pi single-board computers are purpose-built to run 24/7, with a low power draw and high reliability. Thus are perfect as the heart of a Maker Level NAS.
A network-attached storage device, or NAS, is a great method of data storage that enables numerous devices to access and share the stored data. It works similarly to a file server but is intended for use in a home or workplace that wants the physical hardware close by. Typically, a NAS system consists of one or more hard discs (or any data storage mechanism) that are linked to a network. This is usually done with an Ethernet Cable attached to the main WiFi router. When set up it can be accessed by numerous networked devices, including computers, smartphones, and tablets because of this direct link to the local router/switch.
There are many uses for a NAS. To begin, it offers a central spot to store and share files, accessible from any networked device. Families and individuals with numerous devices who want to keep their files accessible and organised will find this immensely helpful. Secondly, a NAS can be configured to automatically back up data from other devices on the network, providing an additional layer of data protection. This can be especially important for important documents, family photos, or other valuable data (NSA Leaks). Finally, a NAS can be more cost-effective and flexible than cloud storage services, which can require ongoing subscription fees and may not offer the same level of control or security as a local data storage NAS. Local storage is more reliable and is always accessible. Local storage can still have the ease of access that cloud storage has too! The ability to easily access and share data from outside the Local WiFi is totally achievable with a Raspberry Pi NAS (and one which has big advantages)
Core Electronics is located in the heart of Newcastle, Australia. We're powered by makers, for makers. Drop by if you are looking for:
Raspberry Pi 4 Model B 8GB (Used here) - core-electronics.com.au/catal...
Micro-SD Card (Used here): core-electronics.com.au/catal...
Ethernet Cable: core-electronics.com.au/catal...
Official Raspberry Pi Power Supply: core-electronics.com.au/catal...
PNY 240GB 2.5” SATA SSD - core-electronics.com.au/catal...
USB Stick/Flash Drive - core-electronics.com.au/catal...
0:00 Intro
0:44 What a NAS is
1:11 Uses for a NAS
2:00 What You Need
2:40 Hardware Setup
4:06 Software Setup
5:38 OpenMediaVault Setup
9:16 Demonstration!
10:20 Phone Access Too
10:54 Port Forwarding, Multiple Hard-drives and Auto-Backups
11:20 Outro
The following trademarks are owned by Core Electronics Pty Ltd:
"Core Electronics" and the Core Electronics logo
"Makerverse" and the Makerverse logo
"PiicoDev" and the PiicoDev logo
"GlowBit" and the GlowBit logo
Hey all, OMV currently DOESN'T work on the new Bookworm OS. You will need to flash Bullseye which is listed as "Raspberry Pi OS (Legacy, 64-bit) Lite" in the Raspberry Pi Imager under "Raspberry Pi OS (other)"
Cheers!
Just found this out. thanks for putting out a solution fast!
FYI, if the install output fails and refers to ssh.systemd, I managed to solve it. Found on some forum to create the following symbolic link:
sudo ln -s /lib/systemd/system/ssh.service /etc/systemd/system/sshd.service
then run install again
@@user3027 thank you so much this really helped!
im using pi 5 its not showing legacy version for pi 5 what can I do
@@saronanto4373 select no filtering and flash the legacy one
I have been in IT for 35 years, I accidentally stumbled across this video and watched it out of curiosity. I can sum it up in one word. B R A V O! Perfect pacing, not overwhelming for newcomers, exellent work here. :)
If you watch 1000 youtube tutorials you will find 1 or 2 as well put together, explanatory and great as this. Good speed but never to fast - no info lost. Very very good work.
i agree
I love watching videos about how to do something that start out with 5 minutes of telling me why I should be interested in doing the thing I'm trying to learn to do.
This tutorial is the best to watch and follow along with, no issues and no confusion! Love it, now I have my NAS ready to be added to my port forwarding and be available world-wide!!!
Always glad to see people getting out there and making stuff, best of luck!
Your way of explanation is just amazing!🔥
Awesome video as always!
Very helpful, with clear instructions!! thank you very much!
You give me the capability to stay turned on for years 👍🏻
Awesome explanation and easy to follow bud thanks for the toot
Thanks for the best tutorial ever..
This is useful video. Thank you.
I set one up with a Raspberry Pi 3B+, and a 128 GB usb and 2 TB external ssd.
It is currently working great as storage for music and as a backup location.
Great to hear!
Hey, I use a Raspberry pi 3 as well, but I keep running into an error:
dpkg: error processing package ssl-cert (--configure):
installed ssl-cert package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
ssl-cert
E: Sub-process /usr/bin/dpkg returned an error code (1)
failed installing postfix and unable to fix
Any help would be much appreciated!
@@Nathan_Daniel I wish I could help, but my knowledge on this so far doesn't go beyond what was shown in the video. Maybe post this query in a new thread under the video to ensure that Core Electronics see it as they or someone else on here may be able to assist.
@@AndrewGalan Hey. Thanks for trying to help. I was able to fix the error by setting the date and time more specifically in the configure settings, which was weird, but after a while of using OMV, windows explorer freezes every time I try to upload more than/around a 1 GB of data files, and many times it fails to even upload. It is only useful for smaller files, which is not what I really intend to use it for.
@@Nathan_Daniel plz check if time is automatically updated from internet. Ensure that timezone is also properly set. Not sure why it freezes from windows explorer. Suspecting connection issue. Why not try to copy with rsync ?
Great how to vid. Thank you
nice video and easy to understand thanks i tried many methods from youtube but not such easy steps you told to noob like me its great helps thanks
thank you for this video it was very useful to me.😊
thank you for this, you have gained a sub 👍
Hello, great video, very informative...
Great tutorial and written guide! 👌
Simply the best
Thank you for the video! It helped me get things setup and everything works. I've only encountered one problem. If I reboot, my pi nas doesn't come back online. Any idea on the fix? Thanks!
Is it possible to install Jellyfin on this to use as a homemade netflix or would you need something with more beefy hardware for a smooth experience. If its possible it would be amazing to see a video on how to set it up
thank you so much
Very nice tutorial! It would be cool to built on to this project to allow for it to function as a torrentbox too: add torrents to to Pi from anywhere in the network, download them to the shared folder on the external drive and access to files from any device :)))
Nice tutorial, thanks. I have a Rasberry pi running PiHole as a local DNS server. Can I install OMV in the same pi? I currently have it set up with a static ip address for the DNS server and I'm worried that when OMV assigns my ip, it will overwrite my static address.
you must use OS 64bit legacy lite now, openmediavault will not load onto any other operating system now
I had the same problem, thanks
I spent the last 2 days trying to get OMV running. It drove me nuts. Pi400, Pi3b, several different adapters, several different powersupplies, arggggghhhhhh
A previous version of OMV ran for several years on the Pi400 and the reason for the upgrade was the trouble I encountered when downloading a few gb's from the NAS. Uploading was no problem, downloading was.
Thanks for the heads up, and cheers 🤝🏻👍🏻🇳🇱
Can we go back to where you said if you don't format you will just get access denied...that's where I'm stuck. What do I do? Didn't get that step, where?
Will the NAS show up on every Windows PC which is connected to my WiFi? Does every single PC need its own credentials or can I just use the same credentials (Computer-1) on any Windows PC?
Running strong on a pi 3b with a 32gb sd card and 500 GB 5400 rpm (highest it can power while stable) HDD.
I'm trying to create a remote storage for my WordPress site. Can I use this setup for that?
one issue is occurred sometime if raspberry pi reboot ftp server stopped working i need remove manually and re reinstall the ftp plugin
can you allow all user access but read/copy only? You manage it, people can browse and download but not alter?
First of all great tutorial.
I got a problem with my setup. I had it running for 2 months but got an error with my ssd, after switching it wouldn't allow to attach to new one, so i removed everything from the pi and installed everything again. i can get to omv via the ip but i can't login. After installation raspberrypi tells me login is admin and pw is openmediavault, but when i try it i get an error stating it's wrong
I could not see the panel in the left side on Open Media Vault ?
How did you capture the video from the monitor without ssh-ing into Raspberry? Through some KVM?
Close: it’s a small hdmi capture device. Yes, you want one. ⚙️
@@SchoolforHackers I already bought one.
Yous said use NTFS format, so is that only with a usb drive?, Most others say use EXT4. Does either work or is EXT4 the correct choice with a hard drive?
1) Windows will only let you choose FAT32 or NTFS. I think he's saying DON'T USE FAT32
2) OpenMediaVault will let you change to EXT4 - I think this is done for efficiency reasons - more storage/less overhead...
3) If the memory stick is formatted NTFS then you can take it out and read it on any PC, but not with EXT4??
HTH
having a NAS is actually very convenient
Would this work for game roms
I thought my speakers were broken for a sec
I'm a total newbie to this and I kind of just want to get things up and running. wget doesn't do anything and when I open the file, it just says that the certificate is expired. Do I need to do anything extra?
well, I got through by ignoring the certificates. However, I got to a point where it failed to update repos and mentioned bullseye security. I'm unsure if that's related to the pinned message, but I had flashed to the OS version mentioned before this attempt. Can anyone help sort this out?
The Open Media Vault installed failed "Unsupported version. Only Debian 10 (Buster) and 11 (Bullseye_ are supported. How did you get it to work?
Did you follow the instructions with a freshly flashed SD card? If so I believe these issues are stemming from the recently release Raspberry Pi OS Bookworm which will have replaced Bullseye as the default OS in the imager. Try flashing your SD card with one of the legacy builds of Bullseye and see if that does the trick.
@@Core-Electronics i have the same issue, must be a new software OS upgrade
Now i have a problem......I can login to my OMV but cannot access the dashboard to see any of the other areas ...i.e. storage, filesystem, users, ect........Please help...
Same idk why though
I dream for the day that raspberry pi projects with rpi3b+ are actually attainable again. More like $40 instead of, "$120 but out of stock anyways."
I am guessing that the limited RAM would be an issue, as mentioned in the video, but also maybe the usb 2 and no 3.
What kind of things do you envision will be a problem?
I am hoping to use a spare rpi3b+ with this, so any insight on problems would be welcome.
@@AndrewGalanDid it work with your spare one?
Great video, but the install fails for me every time on a fresh install of raspian lite on a Pi4. Too many errors to list, but one example is that it can't find sshd.service, when the default is ssh.service. I see this with other services and files that it can't find. Anyone with similar issues on a Pi4?
same problem here
so how do you get the ip address if the screen refreshes and ip address is no longer displayed after installing OMV
you can always run ifconfig from the terminal to get current interface configs
Handy bonus: if you’re on Linux or Mac, they use mDNS by default, meaning you can access the Pi server by its hostname. I’m not sure on Windows.
Edit: if you turn on the WINS service in the OMV config screen, you can just use hostname (machine name).
Hi, great video, but I use a Raspberry pi 3l, but I keep running into an error when running the wget command:
dpkg: error processing package ssl-cert (--configure):
installed ssl-cert package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
ssl-cert
E: Sub-process /usr/bin/dpkg returned an error code (1)
failed installing postfix and unable to fix
Any help would be much appreciated!
You need to enable „SSH“ with password authentication in the imager.
@@AIContentPlaza I've spent the last 90 mins trying to figure that one out😅
Just tried this with an old Pi-3. Doesn't work (falls over while trying to install OpenMediaVault). Bummer. Will be buying a purpose-specific NAS, it seems.
It’s a nice time to order a Pi 5.
I too have been trying this with a Pi-3. Just for grins really. Everything seems to be correctly configured but the shared folder never appears when I try connecting to the network drive from Windows 11.
Or a lil Nas
X.
Play at 1.25 speed.
Please help!!!... .this key does not work while i am on the Raspberry...(|) Pi..Please help..ie............(.||||||||||||||)..........as you can see it work here but on the Raspberry Pi it does not work...so i am having difficulty with the last portion of installing openmedia vault.....the problem is with this part... (sudo | bash)...because this key does not work..... this.....|||||||||||||||||||||||||||||||||||||||||..
Check your keyboard settings. I assume you are using English but you may have the wrong English selected.
Exactly. And the character is called a “pipe”.
I'm looking at building a raspberry pi cloud server I keep saying I'm going to do it but things get in the way my old server that's like maybe 16 years old is still going strong but I want something new and want to go down the pi route as it's just mainly for mobile as it has 2 accounts one for personal one for work I would like 2 drives spaces one for each where I can store my files documents videos music photos that sort of thing in like a network so what ever app I use can connect to it like a drive well. Well apart from the raspberry pi and the micro SD card I'm going to buy I was looking at a case for the pi and it can house 4 drives 2.5 inch at I think 4tb max per drive I could send you a link to the case if you want to see it
the case comes with all the bits to make it work and once it's done will not be any taller than a small bottle of coke I just need to work out the best way to do it software and all that I'm not so good at that side of things
it failed with omv, or in bad state
OMV currently DOESN'T work on the new Bookworm OS. You will need to flash Bullseye which is listed as "Raspberry Pi OS (Legacy, 64-bit) Lite" in the Raspberry Pi Imager under "Raspberry Pi OS (other)"
Thanks That Helped! @@Core-Electronics
[2023-10-16 17:29:24+0100] [omvinstall] Unsupported version. Only Debian 10 (Buster) and 11 (Bullseye) are supported. Exiting..Hi I
cannot get past this statement it comes up after a very short time into the install
Did you follow the instructions with a freshly flashed SD card? If so I believe these issues are stemming from the recently release Raspberry Pi OS Bookworm which will have replaced Bullseye as the default OS in the imager. Try flashing your SD card with one of the legacy builds of Bullseye and see if that does the trick.
That worked thanks
your pw setup and hostname change completely fckd up my PI need to reinitiate image
Care to be more specific? 🤨 head to the forums if you need some support forum.core-electronics.com.au/
@@Core-Electronics The hostname to SSH into the PI name also changed. Was too big of a hustle just reinstalled image and started over. Then it worked without user/pw change
Its a BIG NO !! notworking. the codes seems broken. unsuccessful installation with error.
Unsupported version. Only Debian 10 (Buster) and 11 (Bullseye) are supported. Exiting...
Did you follow the instructions with a freshly flashed SD card? If so I believe these issues are stemming from the recently release Raspberry Pi OS Bookworm which will have replaced Bullseye as the default OS in the imager. Try flashing your SD card with one of the legacy builds of Bullseye and see if that does the trick.
the command doesnt work. ive been trying for multiple hours and watched like 10 videos. no links being posted and my rasp 3 just wont do what you show. what is going on. how can this be so fucking hard??? i really feel dumb. i cant even follow a video with simple step by step instructions. shit just doesnt work. sorry for the rant. im just done.
Hey, sorry to hear that you are having issues, check out our forum post on this project, it might have some info that can help. If not feel free to chuck a post on there with the issue you are having, we have a lot of maker eyes over there that can help.
Openmediavault is painful software. Configuration changes take minutes to apply. It can take half an hour to set up one disk. There's absolutely no reason for this it be so slow. It's f**king ridiculous.
I wish people who don't need the gpio pins stopped buying the raspberry pies so that those of us who use the pins can actually get the pies again
i have many pi's and id give you one for 30$
Great videeos BUT, the presenter is one of the most annying people i have seen, what with the halting speech patern and head wobbling all over the place, you are just as annoying if not more than the guy on ExplainingComputers
Im a beginner but i saw you installed OMV on your Pi using only the terminal. If i have set up ssh already, can I just follow the same steps thru ssh and install OMV headless?