I Built A $100 Storage Server! (2024)
Вставка
- Опубліковано 28 вер 2024
- Welcome to my latest video featuring a storage server I built for the low price of $100.
All parts were purchased on eBay, but I will leave links to equivalents on Amazon:
Base system: amzn.to/3zhisOQ
2TB Drives: amzn.to/4ctzcAK
DDR4 RAM: amzn.to/3KR1b1G
NVME SSD: amzn.to/3Xw33o2
-------Social Media Links-------------------------
Twitter: / techbymatt
SoundCloud: / user-680263165. .
Instagram: /
----------------------------------------------------------------------------
~Personal Rig Specs(Amazon Links)~
Ryzen 7 1700: amzn.to/2By8zh5
Asrock AB350 ITX: amzn.to/2BvJCmw
Galax HOF DDR4 3200mhz: bit.ly/2wxmUVl
Zotac GTX 1070 ti Mini: amzn.to/2BuvCtb
Corsair SF450: amzn.to/2BgCrdI
~Music Credits:~
Background Music:
LAKEY INSPIRED
Track Name: "Better Days"
Music By: LAKEY INSPIRED @ / lakeyinspired
DISCLAIMER: All Amazon links are connected to my Amazon Associate account. I earn a small commision from each purchase without any increase in cost to you. All bitly links that go to Newegg are attached to my Newegg affiliate account.
the problem is not nas, the problem is the price of hard disks
Exactly, often times the hard disks is many times the cost of the NAS
That's why I went through the stack of old drives I had sitting around, eliminating the ones that showed themselves to cause errors under ZFS. I plan in the future to replace them one by one with NVME drives when they get cheap enough, or I get a deal of some sort. I managed to cobble together 11TB (6TB mirror, 5TB Z1) of reliable storage that saturates a 2.5GB NIC.
Tbh I can easily find at least 2 used 2TB HDDs for $50
@@thecaptainseye Sometimes, used aren't even worth that.
_"the problem is not nas"_
the problem is how much current it draws from a power grid cause basically it is what defines the final bill as a server stays online 24/7/360. So it's quite silly to use regular desktop hardware for home NAS.
I built my NAS upon ODROID HC4 SOC with 2 native PCIe SATA onboard and 2x1TB HDDs I pulled out of CATV set top boxes found in a rubbish bin. So the file transfer speed is 70MBytes /s via WiFi and I'm very happy with it.
The NAS draws 700mA max. at 15VDC when transferring files what is 10.5W. So 10.5W x 24 x 360 = 90.7 kW/h per anum.
The average electricity rate across the country is 30c per kW/h
90.7 x 0.3 = $27.12 is the operating cost of my NAS per year.
The coffin like on the video normally takes ~40W so it's going to be 4 times more expensive than mine one.
You might have wanted to mention that if you're running the system without a keyboard and monitor, you want to double check the bios settings to confirm it's not set to throw an error and halt if it doesn't detect any peripherals connected. Most PC's by default will stop at the bios screen with an error until you change that setting.
that used to be the case with older machines...but these days I find machines might just report no keyboard but contine to boot anyway
that is my experience with well designed HP kit, like 260 G1/800 G1
i just placed an order for 2 lenovo thinkcenter M715s on ebay earlier today. both should have an AMD A6-8570 CPUs and 8 GB ram without any hard drives or OS, but for under $50 each, i figured id buy 2. ive always wanted my own media server, and i want to get back into DJing, but in virtual reality, and that doesnt actually need a lot of power, but i want it to be its own dedicated system. Also, the one driving force that really made me decide to buy it though was the fact that the dual core, 2 thread A6 8570 uses the AM4 socket platform, so in theory, as long as theres bios support, i have quite the upgrade path, and the manual says it supports up to 64 gb of ddr4 ram. the only real issue is internal space for storage drives, but i can rig up some sort of janky jbod for it on the outside
Legendary video, gonna be referencing this in the future :D
I knew your were be all over this...;-)
While I'm way past the budget NAS thing this was still a solid video. My one recommendation would be to throw in a little more for a spare drive, I'd rather have a spare drive on hand in case a drive dies instead of having to rush to get one.
To hold the drives use the all mighty Zip Ties. ;)
true masters use double sided tape or zipties ;)
My trick for adding SSD drives when there isn't a mounting option is velcro.
From someone who is a complete novice this was an amazing video. Keep up the good work you got a new follower
That gave me a ton of ideas. I will definitely get me a server following your footsteps. Awesome video
thank you for simple explanation. easy for beginner to understand. Good luck
Very informative!! Thank you so much. This is my first time learning about server building aside from PCs. You're awesome!
Lots of people saying SMART data can be faked, and I can't blame them for that. It's also one of the primary reasons as to why I personally never buy second hand drives, but for this purpose, he has it set up in RAID 1 which is pretty "smart" if I don't say so myself (this is where you laugh or point and laugh at me)
Honestly for a $100? This would be a really good application for saving your Shadowplay footage or as mentioned in the video, using Plex.
I personally have a 2-bay NAS with two 8TB drives in RAID 1, but I'm looking to use 3 or more drives to shove into an older machine. Great video and thanks for the motivation
I think something like this is in every way better than a NAS appliance, but it has the potential to be a lot more slightly modifying the template. I have a NAS/randomstuff computer that is a Dell Precision 5810, upgraded to have a 14 core Xeon, 96Gb RAM, 6x gigabit NIC, soon Wifi as well as NVMe via a PCIe adapter. In other words it's the functional equivalent of a corporate network in one box. Sata drives for bulk storage of course, enough RAM and CPU to run a bunch of VM's for whatever I want to populate my network with as well as NIC's for separate VLAN's so I can isolate things from eachother however and whenever I want. Not saying everyone should do what I did -- my point is that grabbing an older PC and some parts can get you a NAS plus almost every other thing you can think of wanting on your network. You can spin up a VM to do nothing except serve up random witty oneliners within HTML tags when someone connects to port 777 on it - if that's your jam. The sky isn't the limit - you are ;-).
3:07😂😂
I thought I was the only one who does this, I do it with my HP compaq home server too😂😂
I would keep in mind the power efficiency of the motherboard and cpu and implementing tiered caching with spin down enabled on hard disks. the electricity cost of a 24/7 365 server adds up.
Totally agree - if running 24/7 it might be worth to spend more money on an efficient build to save long-term.
Yup, there is a 3th Sata , just add an SSD for the OS , use NVME to cache and spin down HDDs. Idle power consumption is around 20 watts, and fast as a gazelle.
But it was meant to be a $100 server. Tossing out comments like "oh, you should be using all these whiz-bang features instead" drives the price up very quickly.
Sometimes you have an extremely limited budget to do the build, and putting up with a few pennies more per month on electricity is a very acceptable trade-off.
@@SenileOtaku how much does turning on a setting that spins your drives down after inactivity cost?
bro you are still here to make videos, very nice. ive built my own pc 4 years ago coz ive watched your how to build a pc video. thank you man ❤
Very informative! Subject material well chosen.
Personally I would look into power consumption first since that thing will be running 24/7
Would love to know what this system pulls on average
Maybe best to use an old laptop, or better an old tablet.
But how can it work on a tablet?@@Hairybassman
Idle 20watt
@@derekelpro7180 tablet media server
I made one from an old broken laptop, the screen was gone. HP Pavilion media one with place for two HD´s of 1TB and booting OMV from a USB. Works well and dose not use a lot, I did the same on a old Dell computer with 4 HD´s and a small HD for booting. Power is a lot more but gives more choices of how you want your HD´s been used.
What is that case at the very beginning of the video? It looks like one of the Fractal Define cases, but not 100% sure. I need to get my hands on something like that. Don't wanna pay the external multi HDD enclosure or pre-built NAS box tax.
Great video, very informative!
Please do a 200-250$ bugget and do a quicksetup of truenas like setting up a mc server and a cloud server
Love it, I might put a bit more into it but this is great for a guide .
A NAS should have drive bays! Anything else is just stupid. Just buy a cheap tower with lots of 5.25" slots and insert bays. The pick a cheap motherboard with lots of SATA ports. I have one myself with 9 bays. Cheap as chips.
Is it 100$ cheap as chips?
@@jabbathegoole What are you talking about? It's maximum 20 USD per bay. Did you go looking for the absolute most expensive one you could find??
@@dtesta no it was a legitimate question why do you think I'm on this video I'm broke
@@jabbathegoole Well, then just use something like a crappy computer and USB to SATA adapters for a NAS. That's what I started with. USB to SATA is like 3 USD.
Lovely tutorial. After buying a Synology NAS, I would rather go down this road. The CPU is very weak it takes ages to do anything.
Quick question, what is the power draw when idle for this server?
Going by the life expectancy by the SMART data does not always mean the SSD will fail exactly at the time. That should not be taken at face value especially when it was bought 2nd hand.
it always a good idea to throw in a cheap nvidia gpu which supports nvenc so you can handbrake your video files and save storage using a automated script
How well does this perform when using Plex? And how is the power consumption?
I've found that those hard drive mounts are a pain to work with even with ssd drives. As long as you don't turn it on its side like a tower, you'll be fine.
Velcro works great as a SSD drive mount system.
Nice job, I don't agree with setting the IP address at the router/switch. It is better to set it at the server.
I can use a sbc with a network port and usb and connect a usb flash drive and call it a $50 nas.
7:10 - You can't really 100% trust SMART data, because there's programs that able to edit them nowadays. 💀
In my country, market is flooded with cheap heavily used HDD from chinese servers, that are all being sold as "100% health", and sometimes even relabeled to different brand, so they would appear less "dodgy". They even seal them in antistatic bag, so they appear as new surplus...
For some people they works good, some got broken ones... Basically it's kinda like a lottery, so be aware about it when you looking for HDD.
Sweet tutorial. Thanks
bro casually played "A BOY IS A GUN" and thought we wouldnt notice
4 GB ram and 16GB swap.
What does truenas do to need 20GB!?
On systems like that I usually set them up without swap. 4GB is more then enough for any reasonable pure NAS setup.
Do they intentionally shred SSD system drives with the swap or what is the purpose?
How's your power/watt usage?
12:36 Hi there, Newbie question please.
If i got my old laptop running on TrueNas, (internal ssd, and 2x m.2's) Does that mean i can share the wedding photos folder online with Clients? Like give them a password to see thier wedding photos ... and they can access my computer anywhere?
I am trying to build something like this on a old diy pc cool I now I can get truenas on that pc.
i have my old gaming computer with an i7 3770K.
is that powerful enough for something like this?
im looking to do a NAS, but also smart home hosting and an NVR for POE security cameras at some point.
Considering a LOT of commercial NAS setups use Celerons, you're gold with that.
the incorrect sata cable without a right angle can cause the drive connector to be ripped off when opening the drive cage.
Love it except for the shitty power supply being a deal breaker
New sub. Im very interested and have a 200$ budget 🤔
For the algorithm!
Great for tinkering/learning. But if you want to make a real one, plan on spending money.
i wouldn't trust to put any data on those drives
That's why you set up a raid
Those aren't nasa drives though...
That 3:09 sounds like a dubstep song i know.
The trouble with these videos is after buying drives, you're WAY over $100
Seems like a waste of $100 for file storage. Buy an external drive for that and get more than 2TB of storage easily.
when he zip tied them down, I knew this was a true master builder. Awesome budget build my friend!
11:40 Attention new NAS builders: don’t just hit ENTER, hit SPACEBAR to select the drive then hit ENTER.
Went through that for like 20mins on my first build wondering why it wouldn’t select 😂
Other than probably opting for a less proprietary system (Prodesk 400 G2 MT has standard ATX PSU connector and standard mATX mounting so you can later transfer the motherboard to a bigger case that holds more storage), this is an enjoyable build.
Indeed, unless you have to go for an SFF build, the Prodesk towers are preferable for this use case.
I've done builds like this and they work very well in two ways: They teach you the basics of setting up a server and once running, they help you find out where the weak points are and where to focus your money on expansion/upgrades or even how to plan for your next one. They can also serve as a great backup/restore server if/when you do upgrade.
That is more like it, the broke bastard build 😂❤ all I can afford 😅
And it is still better than a cheap brand name nas :)
Tho I would go for a processor with "quick sync" it makes it go from "this is useful" to "this is awesome"
And before some idiot starts talking about ECC memory, the solution is to go cheaper, do not use memory above DDR4 and do not use ZFS, it is a fucking budget nas, not a google server for video editing.
Thanks for the TrueNAS mini-tutorial!
next you can go dumpster diving and make a 0$ storage server :D
Please continue this video with what you do next... I've got an old PC I replaced with my new build back in April & I'm looking to dip my toe into media servers to rip all my Blurays & DVDs so I can watch them on the go...
I used to do this. Still have my htpc. I got the synology ds220+ . I think I paid 250. Could build my own, but meh. I need something that my wife will be able to figure out.
Have both. I use a self build for a regular media and docs storage server using only flash. But also a couple of Synology boxes as mirrored backups. The latter need to just do their job with little fuss, but the former I don't mind tinkering with.
Do you know expensive running costs are on this. I’m planning on basically recreating this, but don’t know if it’s that cheap for electricity. Thanks
It would be really helpful to test power usage. The Kill A Watt meter makes it easy. Or the smarter idea is get a smart plug...get it...that has built in energy monitoring. Then you get 2 uses for it.
Idle power usage?
About the smart data, it can be reset so it is not trust worthy. 7:20
This is a well done and highly informative video. I was thinking of buying a NAS but the prices scare the hell out of me. This is a great alternative where one could look for yard sales and other places for computers that are for a cheap sale. You've definitely given me something to consider, bro. Thank you much👍🏾
Is this kind of setup capable of running plex / jellyfin and stream full 4k movies on a single user network without issues ?
4 days ago I bought the same machine for the same purpose. But it was i5 7500 and ram was only 4GB. I bought the machine for £27 + £10 shipping.
This is so cool . I just did the same with a p33 sff . got 2-3.5" 12TB in that thang ! plus a 1tb m.2
My two oldest drives have over 10 years power on time. Might be time to retire those
Ditto.. It seems to be a real lottery sometimes. I've had new drives that have failed after 6 months, others that last a couple of years and a couple of real methusala's that just go on, and on and on....
I retired my oldest drive at 13 years old this year out of my 2011 Hp laptop. It still spins up, but it took about 7 minutes to get the laptop up to operating speed. You probably have more run time on your drives though
Thanks for the detailed video!
I was just looking for someone who made such a budget home server!
Using this guide I was able to build my first server! It came with an intel i5 7th gen, I upgraded the ram to 32gb, and for storage I populated it with 2 14tb nas drives, a 2tb mvme on the mother board and a 256gb ssd for the operating system. I had a 10gb network card that also hosts 2 extra nvme drives populated with 2 4tb. I had to buy a pcie extension cable to make it work as its not low profile but happy its working flawlessly with the card located outside of the machine. I'll have to figure out some sort of enclosure to better protect the card but I can now edit video straight from this nas with a direct connection to my Mac Studio, and the 1gb port is connected to my router for the rest of my network.
That's awesome! I love resurrecting old tech because it's still useful. In my opinion it's a wise thing to do both for our personal economy and the environment.
Plus I like it when a plan comes together.
My top tip for janky hdd mounting is to use thick elastic bands (the kind the postman uses) and wrap those around the drive, then zip tie to the case over those, adds a tiny bit of noise and vibration isolation
I've done this since 1995 xD the rubberbands are easily available from your mailman xD and it was a perfect vibration dampener for those old 5400 ide drives xD
been doing similar way for years with no issues. I do recommend an old 200's era full tower if you want to maximize storage, plus if you are Tech like me you'll have a few hundred old 1-3 TB spinner drives laying around. Technically you'd want the Red series drives by WD or Seagate as they are designed for NAS use, but really anything will work for a small home design. Great video here.
My primary machine uses an old IBM x3200 server case, which has 4 HDD bays (front loading) and two optical drive bays. The original board started failing on the memory, and it steadfastly refused to accept memory upgrades the machine was supposed to support. So I used it for my AMD Ryzen system. Only problem with it is the P.o.S. MSI motherboard.
I have a second machine that uses the same case (Lenovo TS200) that I use for server test installs. I might use that one for running a test install of TrueNAS.
Thanks for all the informative content.
How can I add/install a GPU to my TrueNAS Scale installation and ensure apps can use it e.g. Photo Prism, Nextcloud, etc.
zip ties were the first thought in my mind. excellent video Matt!
Cool
I have a old dell I found someone was going to trash I want to turn it into a NAS as well but I don’t have the know how I wish you lived in Southern California that would make a good video helping a subscriber with their NAS project
What is the idle power consumption of this specific computer?
Great video.
Nice. I'm doing something similar to this with a Prodesk 600 G4 (i5-8600). It's not all sweetness. The system is VERY slow to boot because HP and the proprietariness makes it less than perfect. Mine uses a flex-atx 180w PSU that only outputs 12v. This is a PITA, although not unsolvable. That CPU cooler sucks and isn't straightforward to replace. It's a lot of power use for two HDDs, all the case will take, and recasing is a nope. It's been a great learning machine though and it's good enough that once I'm done playing, I intend to give it to My Mother to browse on.
I have an old HP system that has a built in SAS controller...
Back to my price bracket😍😍😍😍,love it
200$ or 150$ build next? yeah 100$ is pretty hard to work with
I am looking to do something like this - Aliexpress to the rescue.
There are a320 kits with 16gb of ram, a ryzen 2600, and an A320 mb for just over $100 that make a good base to build from.
Was wondering if you could have stolen some space on the HDD for swap instead of using the SSD - though I guess 44% health means just over half the write endurance used, in a position where it probably gets less action than usual
With Nvme-cli under linux, one can shrink usable spase and increase spare cells of a nvme drive.
Thanks for the video. Just a heads up the Amazon link you posted for the drives appear to be for SAS drives and I don't think that HP listed would support them. Might need to swap that for a SATA drive.
Amazing video, im new to all of this so this is a perfect start for me to dip in and get my feet wet, i cant wait to start buying the parts and set up my very own storage system!
Where did you get ur main pc wallpaper? Sheer please 😢
I just built exactly the same home NAS from my old HP EliteDesk. Thank you for the video.
Could you access your files from your phone at a remote location?
Just because it is affordable does not mean it is less than legit.
Fyi, the HP Elitedesk G2 800 SFF has roughly the same specs, can also be gotten for cheap, and there's a 3D-printable HDD caddy, that allows for four(!) 3.5" HDD's + a 2.5" SSD. It'll even allow for good room for PCIe devices, one of which will be necessary for all the storage, but will also allow for fast networking and/or a couple of NVMe drives.
literally not a single person cares, Ivan. 🤡
@@helljumper912 Why are you like that?
I picked up that exact system (including a flat panel monitor, keyboard, and mouse but no hard drive) from a local university auction last year for less than $20. I threw in some more RAM and a terabyte SSD and now it's my Proxmox server.
IIRC, the G2 supports up to skylake CPUs. So there's no hw acceleration of HEVC by integrated graphics
@@romanm.4763 True, but I just used a separate cheap mini PC for that purpose.
I have the same base setup HP 800G3 i7 6700, 32GB ram,nvme for truenas and 8tb (for now one in near future will be second one). Itd a great machine. The only upgrade I’m planning is switch to 800 G5 (more max ram and i9 9900 support) It’l handle all i need. Current setup is not so good for VM’s.
You should try big discounted new refurbished HDDs, sometimes you get lucky and get new non-furbished
wow, just the video I needed! I almost went with the zimablade!
I am new to servers and NAS systems so I have a couple questions. Can you access it from anywhere even if you aren't connected to the same internet as the server? Is it loud at all? (I know that depends on the build you do but for this specific build is it loud or no not really?)
Well it depends on what you mean by access. But install Zeroteir on it as well as a laptop/phone and it's super easy access from anywhere like you're home...just slower depending on your internet speeds
@@mrmotofy I'm talking about whether I use it anywhere even if I am not on the same internet as the server? Can I use it if I am in a different state?
@@doctasolo7568 Yes it gives access virtually anywhere from any network. That's one of the huge advantages of it.
As for the screws for the HHDs. If you have the bag of screws from a case, there are plenty of HDD/SSD mounting screws. Just grab a couple from there. Over the years, I have quite the number of extra screws.
If you aren't a dinosaur like me, just order some extra case (& Motherboard) screws online or pickup at Micro Center (if one if nearby).
Can this set as RAID with automatic backup between both HDD? Sorry to ask the damn Q, I'm not familiar to these tech 😂
Great question. Everyone has to start somewhere. He did use RAID in the video. The server he set up is using TrueNAS, which under the hood uses RAID-Z, a type of RAID. When you set up RAID-Z, if one of your hard drives fails, your data is still safe because it's spread out (or 'redundant') across the other drives. It's like having an automatic backup system that keeps everything running smoothly even if something goes wrong with one of your hard drives. So yes, with TrueNAS and RAID-Z, your data will be automatically backed up between the drives. RAID-Z can be set up with 1, 2, or 3 redundant drives, also called parity drives, but since he only had 2 drives, he set them up so that he only had 1 parity (redundant) drive.
@@pallasplaysyt wow, thank you
@@ee123h9 You're welcome. I'm glad I could help
Does the performance gain from doubling the RAM justify not spending the extra $10 to get a new ssd?
The more TrueNAS can cache in RAM the less it has to write to the SSD.
@@TribbleBot That makes sense. Thank you for the reply. My computer skills are more "mechanic" than "IT". Lol
I just use a Zimaboard with a few extra upgrades, like NVMe adapter. Allows me to use two NVMe drives (one M.2 one NGFF), a 3.5" HD, and two USB hard drives. All I bought was the device, adapter, and the two NVMe drives. I threw a couple of 5TB Western Digital game drives I had into the USB ports and gutted a Seagate external hard drive for the 3.5".
The issue with all those really old systems is power consumption. What were your power consumption figures?
How much electricity does it consume? Thanks
Nice project but I'd go with 2.5 Gb/s as I am spoiled with it already. Good video, I may make something like that to play around with, I have a real NAS already but that could be fun.