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

Selfhosted

40329 readers
385 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
[–] [email protected] 6 points 11 months ago (3 children)

No reason why not. May be a little power-hungry depending on the spec but if you already have it go for it. FreeNAS (now TrueNAS) is the usually suggested OS to run: https://www.truenas.com/freenas/

Since you have 4 HDD slots probably run 4 disks in a RAID 5 so think of how much space you need. RAID 5 is n-1 so if you have 4x 10TB drives you will be left with 30TB of space before formatting. You can calculate here: https://www.raid-calculator.com/

Then either mirror the SSDs for OS and caching or just use one. Depends on your budget really.

[–] [email protected] 2 points 11 months ago (2 children)

Maybe I'm dumb but looking at wikipedia I'm a bit confused. Seems like you can do this on almost any linux distro. What is the reason behind setting up a dedicated OS, cost of operation, stability, performance?

[–] [email protected] 3 points 11 months ago (1 children)

kinda the same reason people suggest something like linux mint over slackware, gentoo, arch, etc… mint is easy to install and is preconfigured to be an easy to use user desktop environment. you can configure any other option to be have like that, but they tend to be a bit more “DIY”, which is great if you know what you’re doing!

dedicated NAS OSes will have good software out of the box that make it easy to configure and manage various common disk-related configurations (RAID, SMB, NFS, etc). you can certainly do all this yourself, but it might not have a pretty, unified user interface, or you might have to deal with software that isn’t compatible with some version of a library that’s in your distro of choice… all resolvable things, but they take time to solve: anywhere from installing a package manually to applying a kernel patch and recompiling the kernel to get something to work

[–] [email protected] 1 points 11 months ago

I see, thanks for the info!

[–] [email protected] 1 points 11 months ago

Not everybody has the knowledge to deal with Linux. A product line TrueNAS or Unraid has a friendly GUI that can be used by a non-technical user.

[–] [email protected] 2 points 11 months ago

Nice, thanks so much for the info!

[–] [email protected] 2 points 11 months ago

Power consumption is the main issue. If it's an old, power hungry desktop and you live somewhere with expensive electricity, it can be quite costly to run. If you have an energy efficient desktop or have cheap power then it will be fine. Just make sure it has a good quality power supply if it's going to run 24/7.