[DRBD-user] no-md-flushes's default value or behavior was changed on drbd-8.4 ?

Zev Weiss zweiss at scout.wisc.edu
Fri Aug 12 01:30:36 CEST 2011

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


On Aug 11, 2011, at 5:34 AM, Masashi Yamaguchi wrote:

> Hello.
> 
> no-md-flushes's default value or behavior was changed
> on drbd-8.4 ?
> 
> I use DRBD on LVM and barriers are not supported.
> 
> drbd-8.3.10 with "no-disk-barrier;" works
> but drbd-8.4.0 with "no-disk-barrier;" (or "disk-barrier: no;")
> does not work.
> 
>   Aug 11 18:39:41 XXX kernel: block drbd0: Method to ensure write
> ordering: flush
>   ***
>   Aug 11 18:39:41 XXX kernel: block drbd0: attached to UUIDs
> 9FA234B78651E7A6:0000000000000000:01D5349BD9ABE16B:01D4349BD9ABE16B
>   Aug 11 18:39:41 XXX kernel: block drbd0: Barriers not supported on
> meta data device - disabling
>   Aug 11 18:39:41 XXX kernel: block drbd0: meta data update failed!
>   Aug 11 18:39:41 XXX kernel: block drbd0: disk( Consistent -> Failed )
>   Aug 11 18:39:41 XXX kernel: block drbd0: Local IO failed in
> drbd_md_sync. Detaching...
>   Aug 11 18:39:41 XXX kernel: block drbd0: disk( Failed -> Diskless )
> 
> drbd-8.4.0 with "no-disk-barrier; no-md-flushes;"
> (or "disk-barrier no; md-flushes no;") works.
>   Aug 11 18:53:05 XXX kernel: block drbd0: Method to ensure write
> ordering: flush
>   ***
>   Aug 11 18:53:05 XXX kernel: block drbd0: attached to UUIDs
> 9FA234B78651E7A6:0000000000000000:01D5349BD9ABE16B:01D4349BD9ABE16B
>   Aug 11 18:53:05 XXX kernel: d-con r0: conn( StandAlone -> Unconnected )
>   Aug 11 18:53:05 XXX kernel: d-con r0: Starting receiver thread
> (from drbd_w_r0 [2881])
> 
> Is this a change of "no-md-flushes"'s behavior?
> ("no-md-flushes" is not mentioned in ChangeLog of 8.4.0.)
> 
> Is meta data safe on this settings ("no-disk-barrier; no-md-flushes;") ?
> 
> Thanks.
> 
> 
> Logs are below...<snip>

Hi,

I'm afraid I don't have much in the way of helpful suggestions, but I can confirm that I've been having problems with this too.  Since I updated to 8.4.0, I can't do a 'drbdadm attach' on any of my resources without first disabling md-flushes -- if I leave md-flushes enabled, I get the same 'drbd_md_sync_page_io(,...s,WRITE) failed!' error you reported.  After disabling md-flushes and doing an 'attach', re-enabling md-flushes works OK on the attached resources, but if it ever becomes detached I have to disable them again before I can re-attach.

I spoke to some Linbit folks on the #drbd IRC channel and they said it looked like a bug, but I haven't heard anything further on it since.


Zev




More information about the drbd-user mailing list