[DRBD-user] Weird Protocol C Behaviour

James Harper james.harper at bendigoit.com.au
Sun Jan 6 13:27:17 CET 2013

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


> 
> Hi All,
> 
> I'm running DRBD from Debian Squeeze (Version: 8.3.7 (api:88))
> 
> I'm having a strange issue where if I do a write on the primary I'm
> getting the full speed of the BBU cached RAID card:
> 
> 
> dd if=/dev/zero of=/test/test121212 bs=1M count=1000
> 1000+0 records in
> 1000+0 records out
> 1048576000 bytes (1.0 GB) copied, 1.16411 s, 901 MB/s
> 

How sure are you that the primary is being written to immediately and that Linux isn't just being lazy about writing the data at all?

Try oflag=direct to make sure there is no buffering on the primary.

James




More information about the drbd-user mailing list