[sheepdog] Questions on the virtual disk's cache type

Daniel P. Berrange berrange at redhat.com
Wed Jan 23 12:44:13 CET 2013


On Wed, Jan 23, 2013 at 07:39:21PM +0800, Liu Yuan wrote:
> On 01/23/2013 07:26 PM, Daniel P. Berrange wrote:
> > How is the cache path changed ? AFAIK, there's no way todo this in libvirt
> > yet. What is path used for the VM specific directory ? This needs to be
> > put into the SELinux/AppArmour policies otherwise sheepdog will just
> > crash & burn when used in a environment with those active.
> 
> Well, I think libvirt doesn't need care about how sheepdog implement its
> cache nor the VMs. The object cache is located on the node where the
> sheep daemon runs. For e.g,
> 
>               kernel                   network
>   VM on node A ---> QEMU emulated device ---> sheep daemon on node B.
> 
> Then the object cache is located on the node B and is manipulated by
> sheep daemon solely.

Oh, when you said 'local disk' earlier I thought that meant local disk
to the QEMU that is running, whereas you just meant local to the remote
object server node.


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|



More information about the sheepdog mailing list