this post was submitted on 27 Dec 2023
90 points (95.0% liked)

Selfhosted

40183 readers
749 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
 

n00b question, sorry. If I had a desktop that could hold 4 HD and 2 SSD, could I turn it into a NAS? Could someone point me in the right direction if this makes sense?

you are viewing a single comment's thread
view the rest of the comments
[–] Aceticon@lemmy.world 2 points 10 months ago (1 children)

A NAS is basically some software running on a computer, so you can use a desktop as that computer, ideally with a light operating system (for example, Linux in text only mode).

HOWEVER: desktops are designed for far higher computational loads than needed by a NAS, plus things like graphical user interfaces and direct connection of user peripherals such as mice, so even when idle they consume a lot more power than the kind of hardware used in a typical NAS.

Also the hardware in a good NAS will have things like extra higher speed connectors for HDDs/SDDs (such as SATA) rather than you having to use slower stuff like USB.

So keep in mind that a desktop as NAS will consume significantly more power than a dedicated NAS (as the latter will probably be running on something like an ARM and have a power source dimensioned for a couple of HDDs, not to run a dedicate graphics card like a desktop has) and probably won't fit as many disks.

If you're ok with having most disks be accessed a bit slower and USB3 work for you (and, for example, if your NAS is on 100 Mbit Ethernet, it's the network that's the slowest thing, not USB3) then it's usually better to use an old notebook rather than desktop because notebooks were designed for running of batteries hence consume significantly less power.

Frankly I would advise against using an old desktop as NAS mainly because in a year or two of continued use you'll have paid enough in extra electricity costs vs using a NAS to pay for a simple but decent dedicated NAS.

[–] Chriswild@lemmy.world 2 points 10 months ago (1 children)

If they were to run some applications on the side it would validate the power usage. Like if it also was a Plex server it could be more reasonable to use more power.

Could also really hinge on the electricity cost for their region. At 10 cents a kwh and a delta of 100 watts we'd be talking 87 dollars a year assuming it's always running at a delta of 100 watts.

I doubt there will be a 100 watt delta especially newer architectures that idle really well.

[–] Aceticon@lemmy.world 2 points 10 months ago* (last edited 10 months ago)

Whilst a 100W delta seems unlikelly, a 50W delta seems realistic as the kind of stuff you have in a NAS will use maybe 5W (about the same as a Raspberry PI, possibly less) whilst the typical desktop PC uses significantly more even outside graphics mode (part of the reason to use Linux in text mode only is exactly to try and save power there). It mainly depends on what the desktop was used for before: a "gaming PC" with a dedicated graphics card from an old enough generation (i.e. with HW from back before the manufactures of GPUs started competing on power usage) will use signiificantly more power than integrated graphics even in idle mode.

That said, making it a "home server" as you suggest makes a lot of sense - if that thing is an "All In One" server (media server, NAS, print server, torrent download server and so on) loaded with software of your choice (and hence stuff that respects your privacy and doesn't shove Ads in your face) it's probably a superior solution to getting those things as separate standalone devices, especially in the current era of enshittification.