Turn DAS into NAS with a Raspberry Pi 5 and OpenMediaVault
Вставка
- Опубліковано 8 лип 2024
- How to convert Direct Attached Storage (DAS) to Network Attached Storage (NAS) using a Raspberry Pi 5 and OpenMediaVault.
---
Command to install OpenMediaVault on a Raspberry Pi:
sudo wget -O -b - github.com/OpenMediaVault-Plu... | sudo bash
TerraMaster D8 Hybrid - 8-Bay Direct Attached Storage (DAS) with RAID: • TerraMaster D8 Hybrid ...
Use any Raspberry Pi to build a NAS - A step by step guide: • Use any Raspberry Pi t...
Twitter: / garyexplains
Instagram: / garyexplains
#garyexplains - Наука та технологія
I've been doing this (TerraMaster D5 with RAID5) with Rpi 4 for 2 years, the performance is very nice and it's quite stable.
I’m glad you covered this, using DAS is so much better with a Pi, too many people cover using nvme hats and expensive storage with speeds that’s aren’t required for home use… especially if it’s a simple media server
You could use a powered USB 3.2 hub to power the 2.5 hard drives rather than rely on the power supply powering the PI.
True.
That is how I run my Pi4 "server". For occasional file access it is a good system. I first used a Pi2 for this, and now use the Pi4/8G + 2 1TB USB drives running as RAID 1. Using RAID 1 over USB is not ideal, but I have found it to work very well indeed.
Thnx Gary, very useful. Just added my DAS to my OrangePi, working great, the tutorial was very useful. And fun!
Glad it helped!
OMV is good stuff. I find NAS's fun to tinker. More complex than a DAS but way more flexible. Good video! 👍
Been using omv for quite somtime and is quite stable, the only time it want to puke up is when you add some extras that it does not like all depending on the Pi
I want to see if an old nasty can be upgraded to be used today
Can the hard disks be setup to power down if not used for x minutes?
Yes, OMV has controls for that built-in.
You can also buy DAS with that built in like the orico range.
Does OpenMediaVault has the option to acces your shared drives remotly (from another network)?
Yes, the way I would recommend would be using VPN rather than opening ports which is needed when using another method.
This is Gary. Let him explain. 👉🧔♂️👈
Did you leave it booting from the SD card or is this running from the SSD?
I have just bought a pironman for my pi4 and it has an M2 hat which I was thinking of using to run my docker containers from.
I haven't played with it yet too see if this is a feasible idea. I'm going to be attaching my orico DAS to it.
I replaced RPI4 with Wyse 5070 because USB speeds on PI are crap.
The Raspberry Pi 5 is way better than the Pi 4. It has a dedicated chip for I/O.
@@harleyn3089 5070 has passive cooling, is cheaper and still destroys the PI
@@jamesowens7148 The Raspberry Pi 5 is faster than a J4105, if that's what's in the Wyse. It's roughly equivalent in IPC to 4th gen desktop chips.
USB3 is faster than 1GB ethernet so USB is not the bottleneck
Also RPI has much better support
primary reason for nas instead local is to off-load data as primary data storage, so the data is not vulnerable to local computer issues, say re-install or malicious installed software. yep primary data storage off-load. but not backup, thats optical tape etc. thumb drives. usb 3.2 can be 10gbps or 20gbps. so 10gbps network would be quite optimal. 1gbps and 2.5gbps is fine enough.
While that is a reason for using NAS (I guess), it isn't the primary reason. You can use DAS for storage and the data is not vulnerable re-installs. However it is incorrect to say that NAS is not vulnerable to malicious installed software.
@@GaryExplains yeah I only moved to NAS from DAS because it was getting cumbersome to be always plugging in the USB thumb drives. I still backup stuff to DAS also but daily ops are on the NAS or potato pc NAS. emphasis on immediately off-loading all data to the NAS, instead of keeping it in the operation pc. emphasis on the increased volatility on the ops computer. I did not use correct wording.
If your nas drives are mapped within your OS, your data isn’t necessarily safe anymore.
@@majicdude88 no i use it over sftp client, its secure, main point its off the ops pc, away from direct threats
Most slowness of Nas solution annoyed me is higher access time compared to local SSD
Transfer speed 2.5G is kinda ok for me 😅
No one:
Raspberry Pi: look what i can do
Why not use a mini pc instead. For about $130 dollars you can get one with a N100 8gb ram and 128 to 256 GB storage.
You can just wipe the windows 11 that comes with it. If you don't already have a raspberry pi that is. With the cost of the
pi plus micro SD card and a USB C power supply with enough power at 5 volts and a HDMI adapter its not that much
more for a mini pc. Great video
Totally agree I have dumped Pis for n100 CPU, which has the benefit of QuickSync including AV1 hardware decoding.
Do PCs with N100 CPUs have GPIO pins, SPI, i2c, etc?
What will you use the gpios in a nas?
@@GaryExplains not used in a NAS. I'd say those aren't designed to run 24/7