this post was submitted on 14 Jan 2024
33 points (86.7% liked)

Selfhosted

40648 readers
334 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 2 years ago
MODERATORS
 

Hey guys ive been self hosting things for a while now mostly just off a bunch if old computers in a k8s cluster.

The majour issue i have currently is all my data is on a single hdd in an old dektop. Its painfully slow and very risky as i have no backup or anything (i dont feel to great about that).

I really dont have much $ to spend hence my setup is built from a stack of practically ewaste hobbled together. I finally have the $ to buy some drives how should i go about building myself a nas on the cheap?

you are viewing a single comment's thread
view the rest of the comments
[–] BombOmOm 10 points 11 months ago* (last edited 11 months ago) (1 children)

Your basic components will be an old desktop you have lying around and two hard drives. Put the two hard drives in RAID 1 (mirroring) set with either a network share and/or FTP access to add/remove stuff from the array. The drives optimally should be the same size, but if they aren't that is OK, the amount of redundant space available will the the size of the smaller of the two drives.

Depending on what you have lying around this might not cost you anything. However, if you are going to spend money anywhere it should be on the drives themselves. You probably don't need anything fancy, just a pair of 5400RPM HDDs that are large enough to hold your data, plus some room to grow.

You can use any OS of your choosing as basically everything supports the requirements. Linux, Windows, and TrueNAS come to mind as viable options. You may or may not want a third, tiny, drive just to boot the OS, particularly for Windows, as it can make things easier. I personally use Linux for my basic NAS with SFTP access.

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

With truenas you won't need raid

[–] BombOmOm 9 points 11 months ago

Yeah, for TrueNAS it would be a mirrored ZFS array with said two drives, functionally the same.