[DRBD-user] drbd block-size

netz-haut - stephan seitz s.seitz at netz-haut.de
Mon Mar 7 09:04:47 CET 2011

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


> i am thinking about optimizing and calculating the correct values to
> optimize the performance for the underlaying device and the network sync
> to the peer but i do not find the block-size drbd uses?
> what is the default block-size and how i can change that?

Drbd uses the blocksize of the underlaying device.

You might want to peek into /sys/block/drbd0/queue/logical_block_size
and/or /sys/block/drbd0/queue/hw_sector_size

Due to own experiments, I can state that different blocksizes on the backing devices
does not mix well.

Cheers,

Stephan





More information about the drbd-user mailing list