Mailing List Archive

Bug ?
Hello,

I have configured the DRBD 0.5.8 with protocol B on two 2.2.19 Linuxes
with ext2 (block size 4096).

So, all seems to be fine, but ...

I have tried something like this:

I have created a file named test with size of 200000 Bytes.
-> Primary: test 200000 Secondary: test 200000

than i have moved test to test.old
-> Primary: testold 200000 Secondary: test.old 200000

than i have created a new file test with size 201024 Bytes
-> Primary: test 201024 Secondary: test 201024
-> Primary: test.old 200000 Secondary: test.old 200000

than i have deleted test and test.old file and have created a file test
with 200512 Bytes
-> Primary: test 200512 Secondary: test 201024
Oops...

... so, after Replicate, just the same and after unmount, unload of
drbd, load of drbd (QuickSync) and mount... all nice.
-> Primary: test 200512 Secondary: test 200512

Knows someone about this bug ?

regards
Julius
Re: Bug ? [ In reply to ]
With these kinds of posts I always get the impression that you
are mounting the drbd device on both nodes simultaneously. If
this is the case please read the first two paragraphs of
http://www.complang.tuwien.ac.at/reisner/drbd/documentation/uman.html

-philipp

* Julius Kempa <jkempa@example.com> [010813 21:37]:
> Hello,
>
> I have configured the DRBD 0.5.8 with protocol B on two 2.2.19 Linuxes
> with ext2 (block size 4096).
>
> So, all seems to be fine, but ...
>
> I have tried something like this:
>
> I have created a file named test with size of 200000 Bytes.
> -> Primary: test 200000 Secondary: test 200000
>
> than i have moved test to test.old
> -> Primary: testold 200000 Secondary: test.old 200000
>
> than i have created a new file test with size 201024 Bytes
> -> Primary: test 201024 Secondary: test 201024
> -> Primary: test.old 200000 Secondary: test.old 200000
>
> than i have deleted test and test.old file and have created a file test
> with 200512 Bytes
> -> Primary: test 200512 Secondary: test 201024
> Oops...
>
> ... so, after Replicate, just the same and after unmount, unload of
> drbd, load of drbd (QuickSync) and mount... all nice.
> -> Primary: test 200512 Secondary: test 200512
>
> Knows someone about this bug ?
>
> regards
> Julius
>
> _______________________________________________
> DRBD-devel mailing list
> DRBD-devel@example.com
> http://lists.sourceforge.net/lists/listinfo/drbd-devel
>