Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
Most motherboards support wake packets sent over Ethernet. They only work on your lan, but they will start a machine or wake it from sleep. Sending a packet from another machine is fairly simple, it’s old tech. I’ve seen simple web servers that have a “send wake” button, but you could probably trigger it from a variety of things
The WoL part I’ve got.
It’s the NAS with ~10 second boot time that can house enough drives for 80TB of data which would be triggered and accessible to a plex server when needed that I’m more interested in.
Alpine Linux can boot in a few seconds. Stick to something extremely simple like nfs or samba and nothing else in the boot. Or use suspend to ram with your regular OS.
Last question; how would I get it to wake when someone’s trying to access a file on it?
You would have to script something based on whatever service is actually being used, or maybe node red? In the past, way back, I used something like this that is just a simple web page that the user has to click a button to start the machine - there are a bunch of these https://github.com/Trugamr/wol - the web server is on the lan with the NAS so can send the magic packet, but the page can obviously be served over the internet.
So, realistically, I’m probably looking for a commercial NAS that’ll spin the drives down when nothing is accessing them and spin them up once something attempts access.
Because I can’t think of another way to do this.
Maybe you could just spin down/turn off the disks? That will reduce power consumption a lot and they'll get up once requested.
So more like a commercial NAS box and less like a repurposed Dell server.
Why?
Power consumption.
Plus, I don’t think an enterprise grade server is designed to spin down the disks when they’re not in use.
You can just do that yourself regardless of what the server was intended to do, with a cronjob for example. You can also set an idle time after which it spins down with hdparm but that doesn't always work for different reasons.
How do I set a cronjob on a Hyper-V host?
No idea, does it pass the drives through?
Not with a RAID controller, no.
IDK if these support IT mode or the like, but yes, hardware RAID makes this hard.
Usually not, no. With that in mind, it seems I’m looking for something more like a commercial NAS box and less like a repurposed Dell server.