[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-devel] Re: drbd: and hvm
> > James Harper <james.harper <at> bendigoit.com.au> writes: > > > > > > > > > What is it that prevents drbd: devices from not working under HVM? > > Could > > > the fix just be as simple as mapping 'drbd:name-of-resource' to > > > '/dev/drbd/by-res/<name-of-resource>'? > > > > > > > The following patch maps it correctly, but it only works if the device > > is already 'primary', which kind of defeats the purpose... qemu-dm must > > be trying to open the device before the drbd script switches the local > > node to 'primary'. Might it still be a useful addition to qemu-dm > > though? (eg it would work in a multiple-primary setup). > > I've managed to make the creation of domU work by simply putting a sleep(5); > statement in the middle of your conditional block ! I did exactly the same thing. It might still race on a really heavily loaded system, but I haven't had a problem with it in a few weeks of testing. James _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |