[DRBD-user] How to simulate a corruption for testing drbdadm verify ?

Hervé Gautier herve.gautier at thalesgroup.com
Mon Apr 26 16:04:48 CEST 2010

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



Hervé Gautier a écrit :
>
> Hi folks !
>
> I am wondering how to create a corruption on a device used by a DRBD 
> resource to test drbdadm verify ?
>
> In Primary/Secondary configuration, is it possible and enough to run 
> on the Secondary node, a
> # dd if=/dev/zero of=/dev/cciss/c0d2p1 bs=512 count=1
> On then a:
> # drbdadm verify drbd_xterm
>
> Thank in advance for any information and advice
>
> Rv
>

After a "drbdadm down drbd_xterm" on Secondary and the "dd",
when "up", I don't know if anything is re-synchronized (maybe to small 
to be clearly seen) , and the "verify" does not detected anything.

Any idea ???

-- 
Hervé GAUTIER




More information about the drbd-user mailing list