I need to get date and time when a file was created. The file is stored at ext4 filesystem so the information is available in the i-node and I use debugfs to read this information:
# debugfs -R "stat <3922>" /dev/sda1 | grep crtime
debugfs 1.43-WIP (18-May-2015)
crtime: 0x5b646acd:b0175ac8 -- Fri Aug 3 14:46:37 2018
That works fine but the command sometimes fails:
# debugfs -R "stat <3922>" /dev/sda1
debugfs 1.43-WIP (18-May-2015)
/dev/sda1: Block bitmap checksum does not match bitmap while reading block bitmap
stat: Filesystem not open
The next debugfs execution returns correct data.
What does exactly mean the error Block bitmap checksum does not match bitmap while reading block bitmap ?