If a hdd bad sector happens in the metadata for /home/user/me
on an ext4
fs would that mean data loss for all subdirectories?
Background:
I know that many users are satisfied with the ext4 filesystem, and are even reluctant to change to more "recently" developed alternatives (e.g. BTRFS), claiming increased risk of data loss. Indeed when regarding the time the code for ext4 is around today some results to find bugs speak.
With this introduction, my question is:
What is the resistence that ext4
filesystem has against a bad sector from a block device. A bad sector could swallow 4K bytes, which I imagine to "wreak havoc" if those 4K happen to swallow some directory information high up in the direcotry structure (i.e. /home/user/me
directory).
I am aware that superblocks (being even more basic source of information are kept in a redundant form in ext4, so I imaging a bad block would be repairable there, I am though unsure if it would be automatically dedected)
So my question: Can ext4 resists loosing Bad block in its meta data?
I am aware that a bad block in the data/files content will always mean loosing those 512/4K sector (however I am using parchive as a remedy there).
ext4
because "it must be good, and tested being around for quite some time". So it is my backups I worry about.