Re: A question on directory checksums

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 22 Feb 2020, Bo Branten wrote:

/dev/sdb2: Directory inode 64, block #0, offset 0: directory has no checksum.

I think I should tell you how I solved this: It was a good advice to use debugfs, with it I could dump the directory block before and after running e2fsck and then I found out that it was rec_len in the last directory entry in a block that we did not initialize correctly, before it should extend to the end of the block but with cecksums we should subtract sizeof(struct ext4_dir_entry_tail) from it, thats why e2fsck did not look at the checksum even if it was there.

Thank you for youre help.

Bo Branten




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux