[DRBD-user] Integrity

Pol Hallen drbdml at fuckaround.org
Mon Oct 28 22:20:24 CET 2013

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


Hi all :-) I apologies for that's banal question.

For purpose test on node2 I done:

if=/dev/zero of=/dev/sdb1 count=10000 bs=1M

So, from this moment node2 is not synced with node1.

When drbd discovers that differences?

I also found: syncer { verify-alg "md5"; }

How many time is normal do (by crontab) a check of integrity?

Or are there other ways?

Thanks!

Pol

My config:

global { usage-count no; }
common { syncer { rate 100M; } }
resource r0 {
        protocol C;
        startup {
                wfc-timeout  15;
                degr-wfc-timeout 60;
        }
        net {
                cram-hmac-alg sha1;
                shared-secret "secret";
        }
        on server1.node1.org {
                device /dev/drbd0;
                disk /dev/sdb1;
                address 192.168.1.100:7788;
                meta-disk internal;
        }
        on server2.node2.org {
                device /dev/drbd0;
                disk /dev/sdb1;
                address 192.168.1.101:7788;
                meta-disk internal;
        }
syncer { verify-alg "md5"; }

}





More information about the drbd-user mailing list