Re: [BUG] e2fsprogs: e2fsck -b outputs checksum warnings

Andreas Dilger
2012-01-31T22:17:41Z

On 2012-01-31, at 1:56 PM, Ted Ts'o wrote:
>>> One or more block group descriptor checksums are invalid. Fix<y>? yes
>>>
>>> Group descriptor 0 checksum is invalid. FIXED.
>>> Group descriptor 1 checksum is invalid. FIXED.
>>> Group descriptor 2 checksum is invalid. FIXED.
>>> Group descriptor 3 checksum is invalid. FIXED.
>
> This is certainly scary, though. In the case where we do need to use
> the backup block group descriptors, it would be better to reset the
> checksum to the correct value so we don't get all of this extra
> output, which isn't useful to the user and is just going to alarm them
> unnecessarily.

I was thinking this is just an oversight in the code which is removing the
UNINIT flags. It should just recompute the group checksum (which will
happen only rarely, and the performance isn't critical).

A patch has been submitted separately.

Cheers, Andreas