this post was submitted on 09 Aug 2023
43 points (92.2% liked)

Technology

33611 readers
315 users here now

This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.


Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.


Rules:

1: All Lemmy rules apply

2: Do not post low effort posts

3: NEVER post naziped*gore stuff

4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.

5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)

6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist

7: crypto related posts, unless essential, are disallowed

founded 5 years ago
MODERATORS
 

Hoping to set up a general location to throw files.

It might be used as a storage dump for Plex too..

Recommendations?

Edit: the synology recommendations have won out. Went with the DS923+. Thanks for all of the thoughtful recommendations!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 11 months ago (2 children)

Never setup a nas but if I was to get one, I would use truenas since it is foss.

For fireproof and waterproof nas systems, check out iosafe. Not sure if truenas will work on them however.

https://iosafe.com/

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

TrueNas is just the software isn't it? Which hardware to go with?

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

Yes, it is the OS of the nas. I do not know what hardware will work for it. I only played around with truenas in a VM

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

Plenty of FOSS ways to set up a NAS. I'm going for Debian with ZFS myself, I prefer custom solutions as they are almost always more flexible than "NAS OS:es".

[–] [email protected] 1 points 11 months ago* (last edited 11 months ago) (1 children)

What software do you need when using debian? Just ZFS as a file system?

[–] [email protected] 1 points 11 months ago* (last edited 11 months ago) (1 children)

It depends on what your goals are of course, but I use ZFS for the file system, sanoid to take snapshots on a schedule (hourly saved for a few days, daily saved for 1-2 weeks and so on up to monthly saved a year or two), Samba to actually share the files to Windows computers, Plex to share media to my TV.
Also rsync to a second (offsite) computer for replication/backups of the most important stuff. That computer also takes ZFS snapshots to get easy versioning of the files.

I wouldn't recommend it for most people, but it's nice if you're comfortable working with Linux to begin with.

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

Is there good FOSS software that you can run on debian or ubuntu that can allow you to access your files using SFTP while the files are being stored with a RAID system? And is it possible to have your files store older versions of the file when you overwrite them and keep these older versions of the file for X months?

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

Yes, that shouldn't be an issue. I believe SFTP would be supported basically out-of-the-box if you install OpenSSH during the install, but you might want to create a group and configure access if you're not the only user.

The version thing is what I'm doing with ZFS (also works with BtrFS, but it doesn't feel as reliable yet). Basically I take snapshots every hour, and the entire state of the filesystem at that point becomes frozen in time, and can be accessed as long as the snapshots exists.
sanoid automates the process and cleans up so that there's a reasonable amount of snapshots, not hundreds or thousands.
Of course, this means that you can't really regain any space when you delete things, until the oldest snapshot containing the data is deleted.