Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Sat, Apr 7, 2012 at 2:43 PM, Dan Barker <dbarker at visioncomm.net> wrote: > I need to test that DRBD will peacefully cohabit with Oracle VM. I want to > build a single-node DRBD array and need my resource in WFConnection > Primary/unknown Uptodate/DUnknown. > > Otherwise I need two drbds (I can do that, but it's not germane to this > test). > > I did a create-md (successful) and a drbdadm new-current-uuid minor-0 Why? drbdadm primary --force r0 would have done just fine. I also seem to recall that the new-current-uuid trick only works when the peers are connected, but at any rate, that's a moot point here. Just force the single node to be primary, and you should be fine. > (failed): > > [ 377.048406] d-con r0: conn( WFConnection -> Disconnecting ) > [ 377.048416] d-con r0: Discarding network configuration. > [ 377.048559] d-con r0: Connection closed > [ 377.048561] d-con r0: conn( Disconnecting -> StandAlone ) > [ 377.048563] d-con r0: receiver terminated > [ 377.048576] d-con r0: Terminating receiver thread > [ 377.048594] block drbd0: disk( Inconsistent -> Failed ) > [ 377.057027] block drbd0: disk( Failed -> Diskless ) > [ 377.057132] block drbd0: drbd_bm_resize called with capacity == 0 > [ 377.057229] d-con r0: Terminating worker thread > > 8.4.1 Arguably that's not really graceful failure; not sure if that's intended. I don't use 8.4 at this point, so I may have missed something. Florian -- Need help with High Availability? http://www.hastexo.com/now