# HG changeset patch # User Matthias Förste # Date 1416492435 -3600 # Node ID 1b798e131cd9ecfa29e630557a94d5ab5e0595c6 # Parent 332f64408aa62ad9656e6320b7d8a57edb9faec5 adapt to syntax changes in drbd-utils > 8.4 diff -r 332f64408aa6 -r 1b798e131cd9 debian/changelog --- a/debian/changelog Thu Nov 20 14:40:41 2014 +0100 +++ b/debian/changelog Thu Nov 20 15:07:15 2014 +0100 @@ -1,3 +1,9 @@ +verify-drbd (0.4) wheezy-backports; urgency=low + + * adapt to syntax changes in drbd-utils > 8.4 + + -- Matthias Förste Thu, 20 Nov 2014 14:45:08 +0100 + verify-drbd (0.3.1) oldstable stable; urgency=low * syntax changes in drbd-utils > 8.4 break current releases diff -r 332f64408aa6 -r 1b798e131cd9 debian/control --- a/debian/control Thu Nov 20 14:40:41 2014 +0100 +++ b/debian/control Thu Nov 20 15:07:15 2014 +0100 @@ -9,8 +9,8 @@ Package: verify-drbd Architecture: all -Depends: drbd-utils (>= 8.3.8) | drbd8-utils (>= 8.3.8), ${misc:Depends} -Conflicts: drbd-utils (>= 8.4), drbd8-utils (>= 8.4) +Depends: drbd-utils (>= 8.4) | drbd8-utils (>= 8.4), ${misc:Depends} +Conflicts: drbd-utils (<< 8.4), drbd8-utils (<< 8.4) Description: run drbd verification periodically This package provides a script which runs a verification on all drbd devices of a system using the dynamic resync speed controller and a cron job which diff -r 332f64408aa6 -r 1b798e131cd9 verify-drbd.sh --- a/verify-drbd.sh Thu Nov 20 14:40:41 2014 +0100 +++ b/verify-drbd.sh Thu Nov 20 15:07:15 2014 +0100 @@ -29,7 +29,8 @@ fi for r in $RESOURCES; do - drbdadm -- -p 1 -s 64k -v $VERIFY_ALG syncer $r + drbdadm -- --c-plan-ahead 1 --c-fill-target 64k disk-options $r + drbdadm -- --verify-alg $VERIFY_ALG net-options $r drbdadm verify $r done