this post was submitted on 27 Dec 2023
89 points (94.9% liked)

Selfhosted

40394 readers
378 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
 

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
[–] Richard@lemmy.world 1 points 11 months ago (2 children)

As others have said, you certainly can.

If your current system is a Windows PC then a super easy way to go about it is to purchase a product called Stablebit DrivePool which will allow you to combine multiple hard disks into one drive, and then do duplication of data you find important. Share that virtual drive as a Share that your other systems can see. DriePool is a super reliable product. Only downside other than the one time cost is that its redundancy is based on file duplication, which has the benefit that you can pull your drives out and use them elsewhere as any one file is always contained on a single drive, but unlike parity based solutions it’s super space inefficient to retain duplicate copies. It’s a tradeoff between simplicity and time to recover in a failure versus maximising disk use and reducing costs. Depending what your NAS is for, maybe you don’t need that redundancy but. You can also team it up with another product called SnapRaid (which is free) which can make your redundancy parity based.

I ran DrivePool for years on Windows and it’s a great product. Windows itself isn’t overly optimised for this use case, but as a predominately Mac household having access to Windows on a headless system was handy if I had to run the odd Windows only apps, so using Windows had its perks.

While Windows and a PC will cost more to operate, you’ll potentially be out well ahead if you don’t have to buy additional hardware. It’s likely worth running what you have into the ground rather than buying new hardware. There’s guides on some things you can do to optimise Windows too.

I’ve since moved to using UnRaid which is a paid product (one time purchase) designed specifically for NAS on your own PC. Great solution but I’d say that the barrier of entry is much higher than a Windows box. Still very versatile product. Moved to that as over time I’ve used a bit more Linux in my life, and I also had reduced need for Windows as the NAS OS.

Haven’t tried TrueNas but that’d be an alternative to UnRaid.

[–] possiblylinux127@lemmy.zip 3 points 11 months ago (1 children)

I would strongly discourage using hardware raid. Hardware raid abstracts away some of the complexity at the cost of flexibility and potentially reliability. I have yet to come across hardware raid that does proper error checking for example.

[–] Richard@lemmy.world 1 points 11 months ago

Agreed. The products I have used above, DrivePool, SnapRaid and UnRaid are all software solutions. This was important to me because I was reusing hardware and had a real eclectic mix of drives from 14TB NAS drives to 256GB laptop drives that I wanted to get more life out of.

The only hardware limitation is the parity based apps SnapRaid and UnRaid need your largest drive to be the parity one. Makes sense but in a situation like mine where I had a 14TB drive and the next closes was 8TB, that parity drive wasn’t well utilised. Not a big issue but.