[Lustre-devel] Integrity and corruption - can file systems be scalable?
Nicolas.Williams at oracle.com
Fri Jul 2 16:35:08 MDT 2010
I explained why well-delineated transactions help, but didn't really
explain why COW and Merkle hash trees help. COW helps ensure that
correct transactions cannot result in incorrect filesystems -- fsck need
only ensure that a transaction hasn't overwritten live blocks to
guarantee that one can at least rollback to that transaction. Merkle
hash trees help detect (and recover from) bit rot and hardware errors,
which in turn helps ensure that those incremental fscks are dealing with
correct meta-data (correct fsck code + bad meta-data == bad fsck).
It's much harder to ensure that there are no errors in parts of the
system that are exposed due to lack of special protection features (such
as ECC memory), in system buses and CPUs, that might be difficult or
impossible to protect against in software. One option is to run the
fscks on different hosts than the ones doing the writing (this means
multi-pathing though, which complicates the overall system, but at least
we currently depend on multipathing anyways). But even that won't
protect against such unprotectable errors in _data_ (originating in
faraway clients, say).
More information about the Lustre-devel