Xendomains and DRBD

Hello,

My rc5.d has drbd at S09 and xendomains at S11 - which is great, the Xen domains rely on a DRBD block device exposed as nfs.

However, if for any reason drbd doesn’t complete in time (for example its peer is booting also and not yet ready), I have the situation where the xendomains are starting, followed by “Starting DRBD Resources…”

So they all boot, and find that the nfs disk they need is nowhere to be found.

Is there anyway to delay the startup of the xendomains until drbd has completely finished initialising?