Cold Storage File System to Span Multiple HDDs

I'm trying to work out a good cold storage system for at least 24TB. I'm not sure what file system I should use, as this will need to span multiple HDDs, which I've never done before.

My Server (running zraid2) has 3 unused hot swap bays in the front, which I'd like to plug 2-3 drives in periodically to run a backup/snapshot before moving them back to cold storage. I may eventually get a second set of cold storage drives and cycle them.

I'm struggling to figure out a good file system and setup. Raid 3x HDDs with one parity (zraid1)? Sync specific sub-directories to each drive? Btrfs? LVM?

I would like the files in cold storage to be as durable as possible, which concerns me with raid approaches being a total lose if they fail. However, I'm not familiar enough with other spanning setups that would be easy to recover data from. One big concern is being able to rebuild/mount the volume correctly on an arbitrary system/OS. I sort of want something ubiquitous like FAT32, but spanning multiple drives...

I think I'm leaning btrfs, and may just need a sanity check that I'm approaching this the right way. Any tips or pointers as far as labeling drives, cycle frequency, or anything else a noob might not think of, are also welcome

Thanks in advance.

Posted Apr 24, 2021, 6:49 PM UTC · edited

24
silasmoeckel•

MergerFS and snapraid. Worst case and you lose the parity drive and one of the backup drives you would still have the contents of the remaining drive. It handles bitrot etc, adding drives is trivial, and sizes do not need to match.

Don't get me wrong love ZFS but not the correct tool for this job.

5
upper_boundOP•

Just wanted to follow up that this is the path I will be taking. Between work, kid, and waiting for my 3rd 12tb for parity, I've finally had some time to read up on this combination and seems perfect for my needs. I hope to get this setup tonight once kid goes to sleep and will feel much better having a proper back-up system in place.

Thanks for the guidance.

1
rincebrain•

If there were >24T drives, I'd probably pick 3-way mirrors over raidz1, but since there aren't, I'd pick raidz1 (on ZFS, obviously), but I have pretty flagrant pro-ZFS bias.

(I would warn you that I believe parity-based RAID with Btrfs is still marked "unstable" on the Btrfs wiki, so keep that in mind if you're considering a parity-based RAID solution on Btrfs. The caveats may not matter if you're "just" using it for cold storage, though.)

The other option I'd suggest if you chose not to use ZFS would be to put dm-integrity on the individual drives and then MD RAID5 on top of the resulting block devices, then pick a filesystem on top of that. (Probably not Btrfs, it'd be redundant to use MD's RAID implementation and dm-integrity's checksums and then pick a filesystem capable of implementing both.)

Note that regardless of which you pick, there are serious considerations when using larger disks with single-parity RAID. I'm not claiming you can't do it, just understand the redundancy properties you're getting.

2
upper_boundOP•

Wow, thanks for such a detailed response. raidz1 was my first thought but I wasn't sure if a parity drive on backup was over complicating things and a simple mirror with no redundancy was ideal when I realized all my experience was in redundant arrays.

I think I may stick with what I know and ZFS. Thanks again.

1
[deleted]•

[deleted]

1