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: SHA256 Hi! These are my first steps in Linux-HA and DRBD land, so please feel free to assume, that I did everything wrong. I'm using drbd 0.7.23 on kernel 2.6.22 and created a setup with two machines, one Primary and one Secondary. Sync was completed before I created a file system and mounted it on the primary. I successfully wrote to a file. Then I used openSUSE's init script to shut down the secondary (rcdrbd stop). After that, everything drbd-related on the primary hang. I can neither write, nor read to the mounted filesystem and drbdadm disconnect all and sync hang in D state, too. I assume, that this is not intended behavior? /proc/drbd on the Primary reads: version: 0.7.23 (api:79/proto:74) SVN Revision: 2686 build by lmb at dale, 2007-01-15 09:41:57 0: cs:Unconnected st:Primary/Unknown ld:Consistent ns:2957148 nr:0 dw:2957148 dr:249 al:601 bm:0 lo:2 pe:0 ua:0 ap:0 dmesg output, after Secondary went down: drbd0: sock was shut down by peer drbd0: drbd0_receiver [8889]: cstate Connected --> BrokenPipe drbd0: short read expecting header on sock: r=0 drbd0: asender terminated drbd0: worker terminated drbd0: drbd0_receiver [8889]: cstate BrokenPipe --> Unconnected drbd0: Connection lost. drbd0: drbd0_receiver [8889]: cstate Unconnected --> WFConnection drbd0: drbd0_receiver [8889]: cstate WFConnection --> WFReportParams drbd0: Handshake successful: DRBD Network Protocol version 74 drbd0: Connection established. drbd0: I am(P): 1:00000002:00000001:00000006:00000001:10 drbd0: Peer(S): 1:00000002:00000001:00000005:00000001:01 drbd0: drbd0_receiver [8889]: cstate WFReportParams --> WFBitMapS drbd0: Primary/Unknown --> Primary/Secondary drbd0: drbd0_receiver [8889]: cstate WFBitMapS --> SyncSource drbd0: Resync started as SyncSource (need to sync 0 KB [0 bits set]). drbd0: Resync done (total 1 sec; paused 0 sec; 0 K/sec) drbd0: drbd0_receiver [8889]: cstate SyncSource --> Connected e1000: eth2: e1000_watchdog: NIC Link is Down e1000: eth2: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX drbd0: meta connection shut down by peer. drbd0: drbd0_asender [9407]: cstate Connected --> NetworkFailure drbd0: asender terminated drbd0: sock was shut down by peer drbd0: drbd0_receiver [8889]: cstate NetworkFailure --> BrokenPipe drbd0: short read expecting header on sock: r=0 drbd0: worker terminated drbd0: drbd0_receiver [8889]: cstate BrokenPipe --> Unconnected drbd0: Connection lost. drbd0: drbd0_receiver [8889]: cstate Unconnected --> WFConnection drbd0: drbd0_receiver [8889]: cstate WFConnection --> WFReportParams drbd0: Handshake successful: DRBD Network Protocol version 74 drbd0: meta connection shut down by peer. drbd0: asender terminated drbd0: drbdsetup [11424]: cstate WFReportParams --> Unconnected I probably can free my server by just rebooting, but leaving it for now in case you want some more information. My drbd.conf is attached. Thanks for any help and feel free to ask anything, Stefan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGyyaa1QuEJQQMVrgRCPlgAJ0ZiI2qQ24ZC5Jj3Lv1gTf2Dk0BngCeKGwk xwDnj91BFYd2y5CqNKPJVOU= =xaZa -----END PGP SIGNATURE----- -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: drbd.conf URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20070821/b7628d52/attachment.txt> -------------- next part -------------- A non-text attachment was scrubbed... Name: drbd.conf.sig Type: application/pgp-signature Size: 65 bytes Desc: not available URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20070821/b7628d52/attachment.pgp>