NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Most simple filesystem with content checksums?



At Sun, 25 Oct 2026 21:41:25 +0100, Henryk Paluch <hpaluch%seznam.cz@localhost> wrote:
Subject: Re: Most simple filesystem with content checksums?
>
> Please note, that Linux offers also 3rd
> method - integritysetup(8) - it works on
> block level - device mapper - (basically
> adding metadata with checksums for each
> block - to make it space efficient, these
> metadata blocks are "clustered" (grouped
> metadata for several blocks until they
> fill whole block). Integritysetup allows
> checksums for complete filesystems that do
> not have them (like ext4 that added
> metadata checksums but not data
> checksums).
>
> Curious if, for example, RAIDframe could
> do something similar?

RAIDframe already does checksum protection when configured to do so.

That's what RAID-5 _is_.  What's missing in RAIDframe is a background
daemon that will occasionally scan the volume to detect and repair
bitrot.  Many more modern so-called "hardware" RAID controllers have
such a feature.

However there's also the logical volume manager, LVM, which might actually be
how the Linux "dm-integrity" feature is also implemented.

Using LVM and the device mapper to implement something equivalent to the
linux "dm-integrity" feature would be a great idea!  It would be far
more flexible than just using RAIDframe.

--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgpAVjTkqJg8i.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index