[DRBD-user] Antwort: cronjob for verify

Jan Bakuwel jan.bakuwel at gmail.com
Mon Oct 9 11:29:05 CEST 2017

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


Hi Robert,

> On 9/10/2017, at 9:17 PM, Robert.Koeppl at knapp.com wrote:
> 
> Just parse /proc/drbd for lines with oos: where the number behind oos is
> not 0

Thanks, that's easy :-)
Jan

> Von:    Jan Bakuwel <jan.bakuwel at gmail.com>
> An:    drbd-user at lists.linbit.com
> Datum:    08.10.2017 02:28
> Betreff:    [DRBD-user] cronjob for verify
> Gesendet von:    drbd-user-bounces at lists.linbit.com
> 
> 
> 
> Hi,
> 
> I'm periodically verifying all DRBD volumes with a cronjob. The manual
> states "If out-of-sync blocks are found, they are not resynchronized
> automatically. To do that, disconnect and connect the resource when
> verification has completed."
> 
> I'd like to include an automatic disconnect/connect on the secondary if
> out-of-sync blocks were found but so far I haven't found out how I can
> query drbd to find out (apart from parsing the log somehow). I hope
> there's a simpler/cleaner way to find out.
> 
> kind regards,
> 
> Jan
> 
> 
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
> 
> 



More information about the drbd-user mailing list