Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi All, I am having a bit of trouble setting up a new drbd system. Both nodes are running 8.2.6 on a 2.6.22 kernel. I have created the underlying devices, copied the config and ran "drbdadm create-md" on both nodes On my "primary" node, I ran "drbdadm -- --overwrite-data-of-peer primary www1" Now, I have following situation: On "primary" node 1: cs:WFConnection st:Primary/Unknown ds:UpToDate/Inconsistent C r--- ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 oos:52427164 on the replica 1: cs:StandAlone st:Secondary/Unknown ds:Inconsistent/DUnknown r--- ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 oos:52427164 If I try to connect the replica, I see in the syslog Aug 21 20:13:25 cocoix kernel: drbd1: disk( Inconsistent -> Diskless ) Aug 21 20:13:25 cocoix kernel: drbd1: drbd_bm_resize called with capacity == 0 Aug 21 20:13:25 cocoix kernel: drbd1: worker terminated Aug 21 20:13:25 cocoix kernel: drbd1: Terminating worker thread Aug 21 20:13:26 cocoix kernel: drbd1: disk( Diskless -> Attaching ) Aug 21 20:13:26 cocoix kernel: drbd1: Starting worker thread (from cqueue/0 [219]) Aug 21 20:13:26 cocoix kernel: drbd1: No usable activity log found. Aug 21 20:13:26 cocoix kernel: drbd1: max_segment_size ( = BIO size ) = 4096 Aug 21 20:13:26 cocoix kernel: drbd1: drbd_bm_resize called with capacity == 104854328 Aug 21 20:13:26 cocoix kernel: drbd1: resync bitmap: bits=13106791 words=204794 Aug 21 20:13:26 cocoix kernel: drbd1: size = 50 GB (52427164 KB) Aug 21 20:13:26 cocoix kernel: drbd1: reading of bitmap took 7 jiffies Aug 21 20:13:26 cocoix kernel: drbd1: recounting of set bits took additional 0 jiffies Aug 21 20:13:26 cocoix kernel: drbd1: 50 GB (13106791 bits) marked out-of-sync by on disk bit-map. Aug 21 20:13:26 cocoix kernel: drbd1: disk( Attaching -> Inconsistent ) Aug 21 20:13:26 cocoix kernel: drbd1: Writing meta data super block now. Aug 21 20:13:26 cocoix kernel: drbd1: Barriers not supported on meta data device - disabling Aug 21 20:13:27 cocoix kernel: drbd1: conn( StandAlone -> Unconnected ) Aug 21 20:13:27 cocoix kernel: drbd1: Starting receiver thread (from drbd1_worker [6134]) Aug 21 20:13:27 cocoix kernel: drbd1: receiver (re)started Aug 21 20:13:27 cocoix kernel: drbd1: conn( Unconnected -> WFConnection ) Aug 21 20:13:27 cocoix kernel: drbd1: Handshake successful: Agreed network protocol version 88 Aug 21 20:13:27 cocoix kernel: drbd1: conn( WFConnection -> WFReportParams ) Aug 21 20:13:27 cocoix kernel: drbd1: Starting asender thread (from drbd1_receiver [6137]) Aug 21 20:13:27 cocoix kernel: drbd1: data-integrity-alg: <not-used> Aug 21 20:13:27 cocoix kernel: drbd1: Becoming sync target due to disk states. Aug 21 20:13:27 cocoix kernel: drbd1: peer( Unknown -> Secondary ) conn( WFReportParams -> WFBitMapT ) pdsk( DUnknown -> UpToDate ) Aug 21 20:13:27 cocoix kernel: drbd1: Writing meta data super block now. Aug 21 20:13:27 cocoix kernel: drbd1: conn( WFBitMapT -> WFSyncUUID ) Aug 21 20:13:27 cocoix kernel: drbd1: helper command: /sbin/drbdadm before-resync-target Aug 21 20:13:27 cocoix kernel: drbd1: before-resync-target handler returned 3, dropping connection. Aug 21 20:13:27 cocoix kernel: drbd1: peer( Secondary -> Unknown ) conn( WFSyncUUID -> Disconnecting ) pdsk( UpToDate -> DUnknown ) Aug 21 20:13:27 cocoix kernel: drbd1: asender terminated Aug 21 20:13:27 cocoix kernel: drbd1: Terminating asender thread Aug 21 20:13:27 cocoix kernel: drbd1: Writing meta data super block now. Aug 21 20:13:27 cocoix kernel: drbd1: tl_clear() Aug 21 20:13:27 cocoix kernel: drbd1: Connection closed Aug 21 20:13:27 cocoix kernel: drbd1: conn( Disconnecting -> StandAlone ) Aug 21 20:13:27 cocoix kernel: drbd1: receiver terminated Aug 21 20:13:27 cocoix kernel: drbd1: Terminating receiver thread Any hints? Oliver - -- Protect your environment - close windows and adopt a penguin! PGP-Key: 3B2C 8095 A7DF 8BB5 2CFF 8168 CAB7 B0DD 3985 1721 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIrbG3yrew3TmFFyERAjcJAJ4x41dGvWk8VLRvyrsUZmI4fdnwkgCfR0Kc h7on0USwudU6OgWGkoz/ZCg= =S/dU -----END PGP SIGNATURE-----