Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On 2010-02-22 17:41, Michael Schwartzkopff wrote: > Am Montag, 22. Februar 2010 16:45:58 schrieb Mike Bro: >> Hello, >> >> I just set my first drbd (drbd 8.3). Classic configuration, one >> primary, one secondary. >> So far so good. My question is how can I measure how far secondary is >> behind primary (either in estimated seconds or kilobytes). >> >> Thanks in advance. >> Mike. >> _______________________________________________ >> drbd-user mailing list >> drbd-user at lists.linbit.com >> http://lists.linbit.com/mailman/listinfo/drbd-user > > cat /proc/drbd Except it won't tell you much while Connected. If by "classic configuration" you mean protocol C, then while Connected, the secondary _will not get behind_ the primary. That's what the "synchronous" in "synchronous replication" means. If however you got disconnected and are now resynchronizing, then the "oos" flag in /proc/drbd will tell you how many blocks are still out of sync, which however is also not a measure of "being behind", as in a resync writes are not applied chronologically. It's merely a measure of, well, how "out of sync" the device is. Cheers, Florian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20100222/4cede843/attachment.pgp>