4 ms·
I believe apfs (apple's new filesystem), btrfs, and zfs all checksum metadata and will attempt to correct it.
by binarycrusader 9y ago
I believe apfs (apple's new filesystem), btrfs, and zfs all checksum metadata and will attempt to correct it.
- tscs37 9y agoI recommend the OP article since it specifically mentions apfs.
- binarycrusader 9y agoThe OP article mentions apfs does not checksum data, but I assure you that it does checksum metadata: https://en.wikipedia.org/wiki/Apple_File_System#Data_integrity https://en.wikipedia.org/wiki/Apple_File_System#Data_integri...
- tscs37 9y agoEven ext4 has check summing of metadata, it's a fairly boring feature by now.
- binarycrusader 9y agoext4 only received checksumming of metadata in Linux 3.16, which was released in March 2016 -- not that long ago really. So I wouldn't call it a fairly boring feature since it's barely been two years since it was integrated and I imagine some Linux distributions might not even have it yet. Furthermore, it's unclear to me whether ext4 just uses those checksums for integrity checks or whether it actually has any "self-healing" capabilities. My understanding is apfs, btrfs, and zfs all have self-healing capabilities.
- tscs37 9y agoChecksums do not provide "self-healing". Ever. They can only tell you if a piece of data is wrong or not. In the case of BTRFS it's less a case of self-healing, the data is not healed, rather that metadata is replicated across the disk. I believe ZFS does the same but I'm not sure of this. I'm certain that ZFS does this if it has several disks to replicate from. I'm not aware of APFS being self-healing on a single disk.
- binarycrusader 9y agoYes, you obviously need additional pieces of information for reconstruction/repair, sorry for the confusing wording.
- jorangreef 9y agoYes, ZFS also replicates metadata on a single disk.
- binarycrusader 9y agoYou can even tell ZFS to do the same thing with user data with the ditto blocks feature.