Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello
Have you tried "drbdadm verify clusterdb_res" to check if the secondary is
really identical to the primary?
I would assume that DRBD only detects corrupted data using checksum when
reading and out-of-date data when comparing those checksums on write requests
but it cannot detect that the data on your secondary has accidentaly become
out-of-date.
best regards
-christian-
On Tue, 7 Jan 2014 15:32:19 +0100
Stefan Bauer <stefan.bauer at cubewerk.de> wrote:
> Any ideas on that? It's really a showstopper for us :(
>
> We’re using drbd version 2:8.3.11-3~bpo60+1 with Kernel 3.2.46-1~bpo60+1 on debian 6.0.7 amd64.
>
> drbd always shows clean status:
>
> root at zabbix-linux-N1:/# cat /proc/drbd
> version: 8.3.11 (api:88/proto:86-96)
> srcversion: F937DCB2E5D83C6CCE4A6C9
> 0: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----
> ns:25724 nr:33532 dw:67920 dr:710389 al:69 bm:47 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0
>
> root at zabbix-linux-N2:~# cat /proc/drbd
> version: 8.3.11 (api:88/proto:86-96)
> srcversion: F937DCB2E5D83C6CCE4A6C9
> 0: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r-----
> ns:0 nr:25980 dw:25980 dr:0 al:0 bm:32 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0
>
> I have an ext4 filesystem on top of drbd0. I can mount the FS on the active node without problems.
> Only if node N2 becomes the active one (primary), some of the files are garbage and some folders are missing.
>
> File /drbd/index.php tells me data instead of PHP script test.
>
> Furthermore on N1 I have /drbd/testfolder/
> On N2 this folder is not synced.
>
> I also enabled data-integrity-alg but no errors were logged.
>
> Any ideas?!
>
> Thank you
>
> Stefan
>
>
> Configuration attached:
>
> resource clusterdb_res {
> protocol C;
>
> on zabbix-linux-N1 {
> device /dev/drbd0;
> disk /dev/sdb1;
> address 192.168.60.60:7788;
> flexible-meta-disk internal;
> }
> on zabbix-linux-N2 {
> device /dev/drbd0;
> disk /dev/sdb1;
> address 192.168.60.160:7788;
> flexible-meta-disk internal;
> }
> }
>
> global {
> usage-count yes;
> }
>
> common {
> protocol C;
>
> handlers {
> pri-on-incon-degr "/usr/lib/drbd/notify-pri-on-incon-degr.sh; /usr/lib/drbd/notify-emergency-reboot.sh; e
> cho b > /proc/sysrq-trigger ; reboot -f";
> pri-lost-after-sb "/usr/lib/drbd/notify-pri-lost-after-sb.sh; /usr/lib/drbd/notify-emergency-reboot.sh; e
> cho b > /proc/sysrq-trigger ; reboot -f";
> local-io-error "/usr/lib/drbd/notify-io-error.sh; /usr/lib/drbd/notify-emergency-shutdown.sh; echo o > /p
> roc/sysrq-trigger ; halt -f";
> }
>
> startup {
> degr-wfc-timeout 120;
> outdated-wfc-timeout 2;
> }
>
> disk {
> on-io-error detach;
> }
>
> net {
> cram-hmac-alg "sha1";
> shared-secret "clusterdb";
> after-sb-0pri disconnect;
> after-sb-1pri disconnect;
> after-sb-2pri disconnect;
> rr-conflict disconnect;
> }
>
> syncer {
> rate 1000M;
> al-extents 257;
> }
> }
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
--
Content Delivery Server & Dienste
_________________________________________________________________________
NETCOLOGNE Gesellschaft für Telekommunikation mbH
Am Coloneum 9 | 50829 Köln
Tel: 0221 2222-8711 | Fax: 0221 2222-78711
www.netcologne.de
Geschäftsführer:
Jost Hermanns
Mario Wilhelm
Vorsitzender des Aufsichtsrates:
Dr. Andreas Cerbe
HRB 25580, AG Köln
Diese Nachricht (inklusive aller Anhänge) ist vertraulich. Sollten Sie diese
Nachricht versehentlich erhalten haben, bitten wir, den Absender (durch
Antwort-E-Mail) hiervon unverzüglich zu informieren und die Nachricht zu
löschen. Die E-Mail darf in diesem Fall weder vervielfältigt noch in anderer
Weise verwendet werden.