<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    1. is a deficiency of the libvirt test for safe filesystems. There
    is a way to override that, but I'm not sure off the top of my head
    what that was. You should be able to search the libvirt mailing
    lists for that error and find it though. I know I read it there a
    little while ago.<br>
    2. Should work with any current kernels and the "direct-io-mode=yes"
    mount option (using the fuse client).<br>
    3. That's correct. qemu-kvm sets o_direct for just about anything
    but type=raw,cache=none. That's (imho) a qemu bug. Any app that
    doesn't fall back if it can't do O_DIRECT should.<br>
    <br>
    Anyway, I hope that all helps.<br>
    <br>
    <div class="moz-cite-prefix">On 09/24/2012 12:39 AM, flintcq wrote:<br>
    </div>
    <blockquote cite="mid:tencent_65B42E034ED673661FEBA9DD@qq.com"
      type="cite">
      <div>1. kvm can run on glusterfs using option cache=writeback, but
        can not implement migration because of following error:</div>
      <div>Unable to migrate guset: Unsafe migration: Migration may lead
        to data corruption if disks use cache != none</div>
      <div>2. then i change the option as cache=none, but i doesn't work
        with following error:</div>
      <div>could not open disk image ..... invalid argument</div>
      <div><br>
      </div>
      <div>3.later, i found that fuse doesn't support cache=none(using
        O_DIRECT flag), and if using disks with option type=raw, then
        cache=none may workable, so i change the type of disks, but
        &nbsp;still the same error mentioned above.</div>
      <div><br>
      </div>
      <div>this is my most works.</div>
      <div><includetail>
          <div><br>
          </div>
        </includetail><br>
      </div>
    </blockquote>
    <br>
  </body>
</html>