[Drbd-dev] resync end in drbd8

Lars Ellenberg Lars.Ellenberg at linbit.com
Thu Dec 14 11:14:37 CET 2006


/ 2006-12-13 19:41:07 +0000
\ Cristian Zamfir:
> 
> Hi,
> 
> I am using the svn version of drbd8 and the -m option to allow both
> peers to be primary. The states are Connected and UpToDate/UpTodate.
> I am going bursts of writes to one of the disks and I am interested in
> finding out when there are no outstanding writes that need to be
> mirrored to the other disk, basically when the resync ends.

there is no "delayed" resync.
DRBD Protocol C is synchonous
(required for two Primaries).

when the write (fsync, fdatasync) comes back,
the data is on both disks.

if you don't fsync or at least fdatasync,
even without drbd you won't know when data is on the local disk.

these kinds of questions are better posted on drbd-user, btw.

-- 
: Lars Ellenberg                            Tel +43-1-8178292-55 :
: LINBIT Information Technologies GmbH      Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe    http://www.linbit.com :


More information about the drbd-dev mailing list