I’ve always wanted my very own server. That’s why I got a raspi in the first place. Attached 2TB drive to it, packed it with webservers, services and other weird stuff that I wanted to test. Moreover, I’ve expected this under powered, little raspberry to work flawlessly no matter what I throw at it. But then, BAM! reality: 2MB/s, lost usb packets, hangs, reboots, nuclear war, cold etc. My (cheap&used) new server has come to put an end to it.
You might ask – ‘wait, wait, it’s a raspberry-centric blog! why you are telling me about your server?’. That’s right – it’s a raspberry-centric blog but as our blog name states – it’s about raspberry at home and how raspberry works with different devices around our house. Nowadays, lots of people are getting NASes and I want to show you some uses of it with raspberry pi. Believe me, you won’t be disappointed.
However, let me brag about my work first;)
I wanted to put together a pc that meet following requirements:
- low power
- cheap, don’t mind used
I’ve done a bit of research and found Intel Atom CPUs and AMD APUs so stared searching for some motherboards with integrated processors and found used asrock ad2550 with 2GB of RAM included for 199 PLN.
It was a bit of a impulse buy and now I would choose something different, but definitely it was a very good deal. Next I bought a akyga 920-01u case, then put mine 2TB WD Green drive and a pendrive with a system. Before going to software I’ve put there, some hints if you would like to do something similar:
- if you want a linux there, don’t buy anthing with intel gma3650 – there are no linux drivers, works fine with cli but it’s a big minus there, AMD APUs are better in this matter or intel atom with nvidia ION graphics.
- if you have bigger budget try putting something with celeron/pentium processor and motherboard with integrated power supply, those are marked as intel all-in-one or thin itx boards.
- intel atom does not have virtualization, it’s obvious but now I would love to have something powerful with it – flexibility and ability to test new setups without much hassle cannot be overstated.
- I definitely don’t recommend this case, it’s loud as … very loud.
Secondly, software. My first try was a freeNAS, gone through all configuration and worked fine but I’ve read that ZFS requires lots of ram to work properly, at least 8GB – didn’t want to put there more ram so I’ve tried ubuntu, but intel GMA got in my way and I’ve ended up with xpenology. Against freeNAS was also my little knowledge about freeBSD, ZFS that was not easily mounted under linux. Xpenology is a project that let’s you run a synology DSM software on most of the pcs. It’s stable for me and works like a charm, makes me almost regret that I didn’t go with synology nas instead of homemade solution. I’m sure one of synology nases will be under my consideration when I decide to buy something better. Performance results exceeded my expectations – above 60MB/s read and around 50 MB/s write (large files). That’s more than enough to serve multimedia around the house.
To sum up, Raspberry is a great little computer, but it’s not the best hardware to serve multimedia around home. If transfers were stable I would stay with raspberry as nas, but they weren’t. As a result I’ll try to split raspberry chores, nas will be there to serve multimedia and raspberry will be to play them. What do you think about it? Did you try to use raspi as NAS? Do you have a DIY NAS or mass-produced one? Let me know in comments if you would like me to continue this series. Thank you!