[DRBD-user] DRBD Verify Log Message Out Of Sync Blocks Units

Lars Ellenberg lars.ellenberg at linbit.com
Mon Dec 21 12:55:13 CET 2015

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Fri, Dec 18, 2015 at 11:35:43AM +0100, Melanie Desaive wrote:
> Hi all,
> 
> we are at the moment experiencing irregular out-of-sync blocks on
> our highly loaded system with the nightly drbd verify jobs.
> 
> Disconnect/connect does swiftly put the devices back into a correct state.
> 
> Still I would like to investigate the issue and find out what files
> are concerned by the out of sync blocks.
> 
> Is it possible to translate the information about the start of the
> out of sync area from the log into ext4 filesystem blocks (4 KiB)?
> Is it maybe simply "(sectors=512 Byte) / (ext4 block size=4096 Byte)"?
> 
> ... block drbd7: Out of sync: start=22378360, size=8 (sectors)

That's linear block address sectors (512 byte),
so if the first byte is byte number 0, this is the 4k block
from byte offset 512 * 22378360 (exclusive)
to 512 * (22378360 + 8) (inclusive).

	Lars Ellenberg




More information about the drbd-user mailing list