A lot of skepticism in this thread. I've got a pi4 4GB running Ubuntu server, acting as a SMB file server, Plex media server, Mopidy music server, Spotify Connect endpoint, video recorder for my two outdoor IP cameras, and a Minecraft server for my kids, all running simultaneously. And it's not breaking a sweat, not even getting close to full memory or CPU utilization. I do use a USB nvme SSD enclosure for storage to…
I have a couple of RPis running Raspbian with a SMB server, and they keep on ticking without a hitch. The only problem I ever experience was when I tried to run a RPi4 as a desktop with a 4k tv. Although everything worked out of the box, sometimes the system stopped responding.
Turning the Raspberry Pi 4 into a Mini Server
21–30 of 135 posts
Re: Turning the Raspberry Pi 4 into a Mini Server
#22Don’t do it! For (your own) source code or valuables, you need ECC memory and a capacitor on the power supply for your storage device which, by the way, should not be prone to corruption when the device is vibrated a little too hard causing electrical shorts in the SD-card or USB connectors! Backups aren’t the answer either, in fact backups can trigger RAM errors (especially with encryption and compression enabled) t…
Re: Turning the Raspberry Pi 4 into a Mini Server
#23Used Lenovo Tiny M92p/M93p units make a nicer solution for this, to me. The enclosure is already there, and no janky USB storage to deal with.
If you really want to compare a 200$ desktop with a 40$ SoC then you should aim for stuff such as those mini PC's/thin clients from Asus, which nowadays even ship with Ryzen processors.
Re: Turning the Raspberry Pi 4 into a Mini Server
#24A lot of skepticism in this thread. I've got a pi4 4GB running Ubuntu server, acting as a SMB file server, Plex media server, Mopidy music server, Spotify Connect endpoint, video recorder for my two outdoor IP cameras, and a Minecraft server for my kids, all running simultaneously. And it's not breaking a sweat, not even getting close to full memory or CPU utilization. I do use a USB nvme SSD enclosure for storage to…
As long as there is proper storage (Reliable SD card for boot/root [I prefer Toshiba], USB storage for other files) and Power supply (Official RPi power supply) Raspberry Pi's have been the most reliable computing platform to me.
With current generation Pi's, it's much more easier to even boot from SSD, have better filesystem like btrfs, zswap, ArchLinux ARM etc.[1].
[1]https://abishekmuthian.com/getting-smoother-desktop-experien...
Re: Turning the Raspberry Pi 4 into a Mini Server
#25Unless you specifically need the 8GB RAM (where Rpi 4 is the only contender in this range as of right now AFAIK), IMO for server use-cases it'd be better to consider either Odroid C4 or Rock Pi 4 - both offer better storage interfaces than USB/microSD natively. Also easier to run vanilla Debian/Ubuntu (or Armbian, which is very close to vanilla but can be easily built custom for either board preconfigured with necess…
I have many pis, but when it comes to making a mini server, wouldn't it be worth it to spring for a low end intel machine, or used mini-pcs? They already come with things like power supplies, RTC+battery, on-off switches, sata and/or m.2, expandable memory, etc.
Personally I use ARM SBCs to get physically separate hosts for things like Consul/Vault/Nomad servers, k8s control plane, some monitoring instances, workers for loads that don't need blazing single-thread performance, etc. This way I can run something close to "best practices" HA redundant clusters while staying low on purchase and electricity costs, and my whole setup can fit in a suitcase if I need to move.
Some of the things you mention (m.2, RTC, switches) are things that are either included or cheap and easy add-ons to the boards I mentioned.
Another nice upside is the low power means it's easier to power them via PoE, so you don't need a power supply in the first place.
I also try to go as far as I can in the direction of libre/open software/firmware/hardware, which means I try to minimize the reliance on Intel and AMD CPUs.
Re: Turning the Raspberry Pi 4 into a Mini Server
#26Used Lenovo Tiny M92p/M93p units make a nicer solution for this, to me. The enclosure is already there, and no janky USB storage to deal with.
A Lenovo M92p is about 6x the price of a RPi, and the noise/form factor can't possibly be compared. If you really want to compare a 200$ desktop with a 40$ SoC then you should aim for stuff such as those mini PC's/thin clients from Asus, which nowadays even ship with Ryzen processors.
And a used Lenovo Tiny is easy to find for much less than $200. $100 shipped without an SSD, $140 with one.
You're exaggerating both ends.
Re: Turning the Raspberry Pi 4 into a Mini Server
#27I don't understand why you would bother with this when you can pick up a second-hand Thinkpad for so cheap which brings a builtin UPS and far more performance, RAM, and IO options.
I don't see where it makes any sense to compare an ancient used end-of-life x86 laptop with a brand new ARM SoC in any of the relevant categories, such as price, form factor, power consumption, availability, and even support. Just for context, you can fit about 10 raspberry pi 4s in the same volume you fit your used laptop, and for the price of an old end-of-life Thinkpad you can buy 5 or 6 RPis. Hell, you can go to…
I'm going to go out on a limb and assume the average HNer already has numerous retired laptops collecting dust in a corner, all more powerful and better suited to connecting high-speed storage to than any Raspberry Pi. They're already wasting space and have already been manufactured, instead of adding more e-waste piecing together Pi-based storage contraptions just turn one on and set it up for server duty already.
Re: Turning the Raspberry Pi 4 into a Mini Server
#28Don’t do it! For (your own) source code or valuables, you need ECC memory and a capacitor on the power supply for your storage device which, by the way, should not be prone to corruption when the device is vibrated a little too hard causing electrical shorts in the SD-card or USB connectors! Backups aren’t the answer either, in fact backups can trigger RAM errors (especially with encryption and compression enabled) t…
It's not that I don't believe, but the occurrence seems to be ultra rare.
Re: Turning the Raspberry Pi 4 into a Mini Server
#29I don't understand why you would bother with this when you can pick up a second-hand Thinkpad for so cheap which brings a builtin UPS and far more performance, RAM, and IO options.
I don't see where it makes any sense to compare an ancient used end-of-life x86 laptop with a brand new ARM SoC in any of the relevant categories, such as price, form factor, power consumption, availability, and even support. Just for context, you can fit about 10 raspberry pi 4s in the same volume you fit your used laptop, and for the price of an old end-of-life Thinkpad you can buy 5 or 6 RPis. Hell, you can go to…
..when describing hardware used for mostly trivial purposes. The mentality of just clicking up some new hardware with no consideration of e-waste has to stop.
Anecdote; my last laptop was a used T420. $80. You're lucky to get two Pi+SD card+power supply for that.
Re: Turning the Raspberry Pi 4 into a Mini Server
#30I don't understand why you would bother with this when you can pick up a second-hand Thinkpad for so cheap which brings a builtin UPS and far more performance, RAM, and IO options.
As someone who's grown tired of a flaky rpi connected to an external drive, is there a generation to shoot for in terms of low price to reasonable performance?
That said, x220s and x230s seem to have gotten more expensive since then, I haven't seen any similarly good deals lately.