Skip to contentSkip to conversation

question about ext4 backup block group descriptors

DISCUSSION Xiaoguang Wang 2 participants 3 messages Jan 31, 2019 – Feb 1, 2019

lore
Share & tools
lore
#0 lore raw

hi,

Anyone can help answer when ext4's backup block group descriptors are updated? I had used blktrace to track the corresponding backup block group descriptor block, but didn't find that any backup blocks were written. Thanks in advance.

Regards,
Xiaoguang Wang

#1 lore raw
Quoted 5 lines · Xiaoguang Wang

Anyone can help answer when ext4's backup block group descriptors are updated? I had used blktrace to track the corresponding backup block group descriptor block, but didn't find that any backup blocks were written. Thanks in advance.

The ext4 kernel code never updates the backup block group descriptors. That is only done by e2fsck.

Cheers, Andreas

#2 lore raw

hi,

Quoted 9 lines · Xiaoguang Wang
Quoted 5 lines

Anyone can help answer when ext4's backup block group descriptors are updated? I had used blktrace to track the corresponding backup block group descriptor block, but didn't find that any backup blocks were written. Thanks in advance.

The ext4 kernel code never updates the backup block group descriptors. That is only done by e2fsck.

I see, thanks very much.

Regards,
Xiaoguang Wang

Quoted 7 lines

Cheers, Andreas