this post was submitted on 14 Jul 2024
54 points (96.6% liked)

Selfhosted

39980 readers
742 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I'm new to selfhosting and I find myself rarely using the server, only when I need to retrieve a document or something.

I was thinking of implementing something to make it power on, on demand, but I'm not sure if this might be harmful for the HDDs, and I'm not sure how to implment it if so.

What's your recommendation to do so? I'm running a dell optiplex 3050

you are viewing a single comment's thread
view the rest of the comments
[–] jet@hackertalks.com 3 points 3 months ago* (last edited 3 months ago)

Wake on lan is fairly well tested, you can have a system that's asleep, sees the packet and turns on.

You just have to wait until the computer completely boots before you can access your resource.

For good demonstration, moonlight and Sunshine do this very well. But you can implement it with many different programs

For SSDs, and NVMEs, turning on and off isn't a big deal. For spinning discs, you would want to minimize the cycles, because that is the most mechanically taxing task they will do. You have to balance the power of keeping the disc spinning all the time, versus the cost of replacing the disc more frequently