* [Drbd-dev] resync end in drbd8
@ 2006-12-13 19:41 Cristian Zamfir
2006-12-14 10:14 ` Lars Ellenberg
0 siblings, 1 reply; 2+ messages in thread
From: Cristian Zamfir @ 2006-12-13 19:41 UTC (permalink / raw)
To: drbd-dev
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.
What can I use to achieve this? Is there a flag that I can read from
userspace when the drives are in sync? Or maybe it is already somewhere
in /proc/drbd and I don't see it.
Thank you.
Cristian
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Drbd-dev] resync end in drbd8
2006-12-13 19:41 [Drbd-dev] resync end in drbd8 Cristian Zamfir
@ 2006-12-14 10:14 ` Lars Ellenberg
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ellenberg @ 2006-12-14 10:14 UTC (permalink / raw)
To: drbd-dev
/ 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 :
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-14 10:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-13 19:41 [Drbd-dev] resync end in drbd8 Cristian Zamfir
2006-12-14 10:14 ` Lars Ellenberg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.