I'll buy a raspberry pi and make a file server + electricity manager with it.
Three SATA and three IDE drives would be hooked to it, to be accessed through SSH over a LAN.
The Pi's GPIO pins would use relays [1] to control a home-made switchboard where I'd plug my other energy-consuming devices (laptop, amp, etc) to provide current to the ones I'm using at a given time and switch the rest off the grid.
My issues:
I haven't used a raspPi or GPIO before so I'm not sure they can do what I want them to.
I think relays are the way to go, but I'm not certain.
This layout would require three IDE to USB carries, and they are a bit expensive and hard to find.
Letting the thing have one wall plug instead of two would be good.
I still haven't thougt about other parts like casing, a display, maybe sound isolation for the HDDs, etc.
[1]
https://en.wikipedia.org/wiki/Relay