[DRBD-user] proto c - corrupt files - directories missing

Stefan Bauer stefan.bauer at cubewerk.de
Tue Jan 7 16:47:04 CET 2014

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


-----Ursprüngliche Nachricht-----
Von:	Christian Hammers <chammers at netcologne.de>
Gesendet:	Di 07.01.2014 15:48
Betreff:	Re: [DRBD-user] proto c - corrupt files - directories missing
An:	Stefan Bauer <stefan.bauer at cubewerk.de>; 
CC:	drbd-user at lists.linbit.com; 
> 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.

Hi Christian,

Thank you for your time.

now it gets strange! I just started a resync after the second node was offline.

[438614.558716] block drbd0: updated sync UUID A712D7A357B968B7:5410F28F1CEC98E8:540FF28F1CEC98E8:736AAB121F6173C0
[439240.761231] block drbd0: Resync done (total 626 sec; paused 0 sec; 111204 K/sec)
[439240.761244] block drbd0: updated UUIDs A712D7A357B968B7:0000000000000000:5410F28F1CEC98E8:540FF28F1CEC98E8
[439240.761255] block drbd0: conn( SyncSource -> Connected ) pdsk( Inconsistent -> UpToDate )
[439240.854011] block drbd0: bitmap WRITE of 8933 pages took 23 jiffies
[439240.854023] block drbd0: 0 KB (0 bits) marked out-of-sync by on disk bit-map.

After this i ran a verify and a bunch of out-of-sync were detected:

439694.710861] block drbd0: Out of sync: start=73992, size=8 (sectors)
[439695.086765] block drbd0: Out of sync: start=270448, size=8 (sectors)
[439695.087157] block drbd0: Out of sync: start=270768, size=8 (sectors)
[439695.087293] block drbd0: Out of sync: start=270824, size=8 (sectors)
[439695.088875] block drbd0: Out of sync: start=272144, size=8 (sectors)
[439695.088988] block drbd0: Out of sync: start=272184, size=8 (sectors)
[439695.089047] block drbd0: Out of sync: start=272224, size=8 (sectors)
[439695.089153] block drbd0: Out of sync: start=272320, size=8 (sectors)
[439695.089236] block drbd0: Out of sync: start=272368, size=8 (sectors)
[439695.092938] block drbd0: Out of sync: start=275488, size=8 (sectors)
[439695.093050] block drbd0: Out of sync: start=275544, size=8 (sectors)
[439695.093117] block drbd0: Out of sync: start=275592, size=8 (sectors)
[439695.093177] block drbd0: Out of sync: start=275632, size=8 (sectors)
[439695.093272] block drbd0: Out of sync: start=275672, size=8 (sectors)
[439695.093373] block drbd0: Out of sync: start=275712, size=8 (sectors)
[439695.093447] block drbd0: Out of sync: start=275768, size=8 (sectors)
[439695.093706] block drbd0: Out of sync: start=275944, size=8 (sectors)
[439695.760522] block drbd0: Out of sync: start=678408, size=56 (sectors)
[439695.760657] block drbd0: Out of sync: start=678472, size=72 (sectors)
[439695.760719] block drbd0: Out of sync: start=678560, size=16 (sectors)
[439695.760823] block drbd0: Out of sync: start=678584, size=56 (sectors)
[439695.760946] block drbd0: Out of sync: start=678648, size=64 (sectors)
[439695.761029] block drbd0: Out of sync: start=678744, size=16 (sectors)
[439695.761082] block drbd0: Out of sync: start=678768, size=16 (sectors)
[439695.761166] block drbd0: Out of sync: start=678792, size=40 (sectors)
[439695.761296] block drbd0: Out of sync: start=678840, size=72 (sectors)
[439695.765368] block drbd0: Out of sync: start=681856, size=8 (sectors)
[439695.767671] block drbd0: Out of sync: start=683424, size=96 (sectors)
[439695.768794] block drbd0: Out of sync: start=684184, size=144 (sectors)
[439695.769115] block drbd0: Out of sync: start=684472, size=72 (sectors)
[439695.770370] block drbd0: Out of sync: start=685432, size=8 (sectors)
[439695.770628] block drbd0: Out of sync: start=685608, size=8 (sectors)
[439695.772100] block drbd0: Out of sync: start=686600, size=96 (sectors)
[439695.772145] block drbd0: Out of sync: start=686712, size=8 (sectors)
[439695.772200] block drbd0: Out of sync: start=686728, size=8 (sectors)
[439695.772261] block drbd0: Out of sync: start=686744, size=32 (sectors)
[439695.772316] block drbd0: Out of sync: start=686784, size=8 (sectors)
[439695.772444] block drbd0: Out of sync: start=686808, size=40 (sectors)
[439695.772484] block drbd0: Out of sync: start=686856, size=8 (sectors)
[439695.772531] block drbd0: Out of sync: start=686872, size=16 (sectors)
[439695.772579] block drbd0: Out of sync: start=686896, size=8 (sectors)
[439695.772701] block drbd0: Out of sync: start=686936, size=40 (sectors)
[439695.774011] block drbd0: Out of sync: start=687880, size=40 (sectors)
[439695.774148] block drbd0: Out of sync: start=687944, size=72 (sectors)
[439695.774231] block drbd0: Out of sync: start=688024, size=40 (sectors)
[439695.774285] block drbd0: Out of sync: start=688080, size=8 (sectors)
[439695.774339] block drbd0: Out of sync: start=688096, size=8 (sectors)
[439695.774390] block drbd0: Out of sync: start=688112, size=16 (sectors)
[439819.597493] block drbd0: Out of sync: start=100663400, size=8 (sectors)
[439851.215265] block drbd0: Out of sync: start=125829184, size=8 (sectors)
[439906.521582] block drbd0: Out of sync: start=167772264, size=8 (sectors)
[439922.491366] block drbd0: Out of sync: start=180355080, size=16 (sectors)
[439922.491505] block drbd0: Out of sync: start=180355104, size=40 (sectors)

and so on. Am i right, after the whole verify process is finished, my data should be in "real" sync? :)

Stefan



More information about the drbd-user mailing list