[DRBD-user] drbdadm create-md fails with msync error on sparc64

SebM seb.pourriel at gmail.com
Mon Dec 17 17:42:47 CET 2007

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 am trying to do some tests on DRBD running on linux on Sun Netra 240
(sparc64).

I am using drbd-8.0.5.

My problem is that I do not manage to do the first synchronisation.


When every thing is configured and started, I am in state
secondary/secondary and inconsistent/inconsistent. This is normal!

But 

#> drbdadm -- --overwrite-data-of-peer primary all just do nothing.

The state of my ressource does not change.

#> drbdsetup /dev/drbd4 primary --overwrite-data-of-peer just says "bus
error".

:confused:


I do not know if it is the same problem, bu an error occurs at the metadata
creation.

#> drbdadm create-md all


Valid meta-data already in place, recreate new?

[need to type 'yes' to confirm] yes


Creating meta data...

initialising activity log

NOT initialized bitmap (284 KB)

msync(on_disk_md): Invalid argument

operation failed



Here is the dump-md output:

#> drbdadm dump-md r4

version "v08";


uuid {

    0x0000000000000004; 0x0000000000000000; 0x0000000000000000;
0x0000000000000000;

    flags 0x00000000;

}

la-size-sect 0;

bm-byte-per-bit 4096;

device-uuid 0x0000000000000000;

# bm-bytes 0;

# bits-set 0;

bm {

}



I have also some error when detaching drbd from the ressource:

#> drbdadm down all

[881921.569358] drbd4: short read expecting header on sock: r=-512

[881921.647238] drbd4: meta connection shut down by peer.




Thanks by advance for any help  ;-)
-- 
View this message in context: http://www.nabble.com/drbdadm-create-md-fails-with-msync-error-on-sparc64-tp14373906p14373906.html
Sent from the DRBD - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20071217/a4e8038d/attachment.htm>


More information about the drbd-user mailing list