Javier Guerra wrote: > to test a cluster filesystem, i need two (virtual) machines with some > shared storage. i tried long ago something like this (with (k)qemu): > > - create a disk image, call it hda-1.img > - boot and install linux on it, shutdown > - copy to hda-2.img > - boot it (with new MAC) and change IP, hostname, little things, shutdown > - boot both with the same bridge, check that network works between them > - create a new disk image, call id hdb-shr.img > - boot both VMs, sharing hdb-shr.img: > > qemu -hda=hda-1.img -hdb-shr.img > qemu -hda=hda-2.img -hdb-shr.img > > - try to setup a cluster filesystem on hdb > > it almost worked... but some writes didn't propagate to the other > until some extra writes to hdb; so i guessed that each qemu instance > had some caching on file I/O > > hopefully, it would now work with "-cache=off", don't you think? > >
cache=off is not necessary. However you need raw format images (not qcow/vmdk/etc). -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel