Re: Ensuring data integrity

2023-02-17 Thread Steven Shockley
On 2/17/2023 5:30 AM, Stuart Henderson wrote: They're often slower (especially in failure conditions) and more complex. Reconstructing RAID5/6 after a drive failure is pretty intensive on the other disks. Not only that but your other (or spare) drives may have a bad sector that won't be detect

Re: Ensuring data integrity

2023-02-17 Thread Daniele B.
> We write our own software. Kudos, appointed somewhere.. However, when you are under data recovery a ready system utility eventually could bring some appreciable goodness to the most.. -- Daniele Bonini

Re: Ensuring data integrity

2023-02-17 Thread Crystal Kolipe
On Fri, Feb 17, 2023 at 04:24:19PM +0100, Daniele B. wrote: > Feb 17, 2023 11:51:52 Crystal Kolipe : > > > Then you perform your weekly backup, overwriting an older backup which had > > a good copy of the file in question.  But this time when the system reads > > the file in from the _bad_ disk, a

Re: Ensuring data integrity

2023-02-17 Thread Daniele B.
Feb 17, 2023 11:51:52 Crystal Kolipe : > Then you perform your weekly backup, overwriting an older backup which had > a good copy of the file in question.  But this time when the system reads > the file in from the _bad_ disk, and corrupt data gets written to your > backup. > > Verifying the back

Re: Ensuring data integrity

2023-02-17 Thread Crystal Kolipe
On Fri, Feb 17, 2023 at 10:30:42AM -, Stuart Henderson wrote: > On 2023-02-17, Eric Johnson <726960+openbsd0...@pm.me> wrote: > > 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 m

Re: Ensuring data integrity

2023-02-17 Thread Stuart Henderson
On 2023-02-17, Eric Johnson <726960+openbsd0...@pm.me> wrote: > 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

Re: Ensuring data integrity

2023-02-17 Thread Daniele B.
> The operating system has other tools for ensuring data integrity and > compactness." I can confirm you this statement: 1) With OpenBSD and FFS you can remain enough quite and there is no way of comparison with any other OS. 2) You need to set your supporting backups almost at th

Re: Ensuring data integrity

2023-02-17 Thread Eric Johnson
ead. 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? >

Re: Ensuring data integrity

2023-02-16 Thread Crystal Kolipe
ion_ or at least as a user-land task, and not try to build a fancy 'one size fits all' solution to the (perceived), problem with a complex combination of RAID arrays, funky filesystems, and other trickery. And the other key to ensuring data integrity over a long period of time is to

Ensuring data integrity

2023-02-15 Thread iio7
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 int