Currently my house server is x86, linux and mostly standard Linux Mint.
It is power hungry and old and runs a 2TB SATA drive as its main data store and a 4TB SATA drive as its backup area, and a repository for un-backed up videos
The drives are western digital 3.5" SATA
WDC WD20EFRX-68EUZN0 (82.00A82) WDC WD40EZRZ-00GXCB0 (80.00A80)
It probably doesnt need that much.
Totting up the partitions its only 2.6TB total. of which 1.6TB is simply videos that dont really need backing up at all
What I would like to do is have something that boots faster after a power cut, has far lower power consumption, and if it cant use the SATA drives has something reasonably cheap to replace them with.
I think a 2TB + 2TB setup is more than i need, 2 + 1 more than adequate probably.
So some of the known unknowns are:
1/. How much power is used by the spinning rust, when most of the time its idle? I find three figures quoted, active, idle and sleeping. Around
6-7W active and a couple of watts spinning
2/. How does Linux (Mint) operate disks which are seldom accessed?
3/. What is the power consumption of a typical SSD? I have seen figures as low as 50mW idle. And a couple of watts on read /write
4/. How could I connect any disks that are not USB, to a PI?
I've looked at the current hardware and its basically
Intel® Core™2 Duo CPU E6850 @ 3.00GHz × 2 - about 75W!!! GeForce 210/PCIe/SSE2 which is another 25W or so, so it looks like that combo is dominating the power draw stakes.
Currently UK electricity is around £0.35p a kWh, so an annual consumption is roughly £3 per watt per year.
Saving 100W would net me £300 a year electricity savings (well almost - the server is a great room heater in winter)
Disk speed is essential to have except for booting. As I mentioned fscking a big server after a power cut is a long process. I'd probably boot off an SD card and mount something else for everything that moves so to speak. So USB interfaces to the SATA drives would probably work.
CPU power is not an issue. I could probably do this with a Pi Zero+Ethernet or an early Pi with onboard. I only have a 100Mbps switch, so networks speeds are not massively needed to be high.
I am guessing that for spinning rust drives, a powered USB hub plus USB to SATA cables would work?
And might be enough to power a Pi as well?
I am not au fait with powered hubs, and what powers what in the case of usb ports that are connected together both with power.
Having looked at the actual power figures I am leaning towards - as a first step, t any rate - simply trying to use the disks but dump the motherboard and graphics board and the PC case - or at least use them for something else on a more occasional basis.
Conceptually that would mean a powered hub, two USB to SATA cables, and an Ethernet equipped PI with at least 2GB RAM - it is nice to sometimes run a GUI on the server, though if I dumped that probably 512M would be enough. It looks like a zero with an ethernet + 3USB hat would do the job cheapest...
What have I misunderstood/forgotten?