Do you mean mdadm? raid.wiki.kernel.org/index.php/A_guide_to_mdadm If not can I have a link?
Comment on OS recommendations
hendrik@palaver.p3x.de 3 months ago
Debian and the standard linux mdraid?
Dust0741@lemmy.world 3 months ago
hendrik@palaver.p3x.de 3 months ago
Yes, as the other people pointed out, that's what I mean. The standard Linux software RAID (also called MD RAID)
It's proven, battle-tested, pretty robust and you don't rely on any specific vendor formats or any hardware for that matter. The main point would be to keep it simple. You could use BTRFS or ZFS or all kinds of things. But it only introduces additional complexity and points of failure. And has no benefits over a plain mirror (what the RAID1 does) if we're talking about just 2 devices. At least it served me well in the past. Contrary to cheap hardware RAID controllers and also BTRFS which also let me down once. But a lot of development went in to that since then and the situation might have changed. But mdraid is reliable anyways.
Findmysec@infosec.pub 3 months ago
How about bitrot?
hendrik@palaver.p3x.de 3 months ago
That is indeed a good question. Is this something RAID is bothered with at levels 0 and 1? I think in this case it's the job of the filesystem to care for that. But you should probably let the periodic task run that does scrubbing like once per week. You could also experience other issues than just bitrot. For example bad sectors and one of the hdds slowly degrading.
In the end I don't think a RAID1 can do much about bitrot and other RAID woes. There are no checksums or anything to correct for that. You'd probably need some other technology for that.
avidamoeba@lemmy.ca 3 months ago
I’d suggest lvmraid which is just mdraid wrapped in LVM. It’s a tad simpler to setup and you get the flexibility of LVM, plus the ability to convert from linear to mirror and back as needed. That is you could do a standard install on LVM, then add another disk to LVM and convert the volumes to RAID1. It’s all documented under
man lvmraid
.
catloaf@lemm.ee 3 months ago
This. Don’t make it unnecessarily complicated.