At Mon, 9 Nov 2026 05:23:27 +0000, Ellie <el%horse64.org@localhost> wrote: Subject: Re: Most simple filesystem with content checksums? > > On 11/3/26 19:25, Greg A. Woods wrote: > > > > 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. > > I think doing integrity checks at the > block level has the problem that it can > become far less actionable: Of course but it's the next best thing given the constraints. I'd be tempted to use it even on top of hardware RAID for critical systems. > If a block layer complains a block is > broken, I do... what? Toss the entire > install? No, you use fsdb(8)'s "findblk" command to find the file and then copy it from a backup. (I.e. after looking at the partition table to find the filesystem containing the bad block and noting the block offset of that filesystem's partition, i.e. if you're not also using LVM and dedicating each volume to a single filesystem.) Hopefully this dm-integrity thing would also include a feature to allow for mapping of replacement blocks from a spare volume as well. -- 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:
pgpgNztePzj1E.pgp
Description: OpenPGP Digital Signature