Raid Mirror? I assume you mean Raid-1. One of my brothers used to be a big fan of mirrors. He somehow thought it was some kind of substitute for backing up his data. Guess what? He was wrong.
It is generally far better to put the effort into producing and maintaining proper backups. Ask yourself what happens when someone writes a file to a mirror? Answer: It means that both drives in the mirror will then contain the file. If you make a mistake in the file, it means that you have the issue on both drives and no copy of the original file. What do you do if someone steals the computer? Or the building is wiped out in a fire or other disaster? Or if you drop the computer down an escalator (I saw someone do that once). Not long ago, I meant to delete one directory containing less than 1 MB that was only intended to be temporary, but accidentally deleted another directory containing about 35 GB which was easily the most important data on my workstation. Fortunately, I have very good backups and recovered all but the most recent file within two hours. If I was depending on a mirror, I would have lost ten to fifteen years of work. Create a mirror if you must (why not go to higher Raid levels instead?), but you still need to do backups unless the data is meaningless and/or unnecessary. If you can lose your data without having any impact on your business at all, why even bother with a mirror? Do not bet the business on a mirror instead of a backup. Eric ------- Original Message ------- On Wednesday, February 15th, 2023 at 18:48, i...@tutanota.com <i...@tutanota.com> wrote: > In the latest book by Michael Lucas, OpenBSD Mastery: Filesystems, Michael > writes, "A filesystem should put data on disk. That data should be safely > stored and reliably read. That's it. Error checking? Deduplication? No. > The operating system has other tools for ensuring data integrity and > compactness." > > If I setup a couple of drives in a RAID mirror on OpenBSD to serve as > a NAS box, what is the best way to ensure data integrity? > > -- > Sent with Tutanota, enjoy secure & ad-free emails.