[DRBD-user] How do I see the sync between primary and secondary ?

Lars Ellenberg Lars.Ellenberg at linbit.com
Mon Apr 12 19:33:14 CEST 2004

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


/ 2004-04-12 17:11:43 +0200
\ Andreas Semt:
> Yang Tj-ATY010 wrote:
> 
> >Hi, there 
> >
> >I am new to drbd and trying to copy 1G DVD iso image onto primary. 
> >Is it possible I monitor the sync between primary and secondary ?
> >
> >Thanks for your pointer. 
> 
> You can use "cat /proc/drbd" to see what's going on between the drbd 
> nodes. Therefore drbd have to be loaded, of course.

but please do not poll /proc/drbd in a tight loop.
that would kill performance.

while true; do cat /proc/drbd ; done      # DON'T DO THIS

while cat /proc/drbd ; do sleep 60; done  # this should be ok

	lge



More information about the drbd-user mailing list