[libvirt-users] Live migration with non-shared storage leads to corrupted file system

Xinglong Wu cakuba at gmail.com
Sun Nov 25 12:12:07 UTC 2012

Thanks for the comments. Forgot to mention it but yes, I do have
"cache=none" configured for the migrated domain, as

     <driver name='qemu' type='raw' cache='none'/>

in my XML file, and doubled-checked before and after the migration. In
fact, if cache is not set to "none", virsh will issue a warning and
refuse to do the live migration.


On Sun, Nov 25, 2012 at 7:12 PM, Henrik Ahlgren <pablo at seestieto.com> wrote:
> On Sun, Nov 25, 2012 at 06:57:19PM +0800, Xinglong Wu wrote:
>> Is there anybody having the similiar experience with live migration on
>> non-shared storage? It apparently leads to failed migrations in
>> libvirt but no cirtical errors ever reported.
> Make sure you have your driver cache set to "none". I've seen similar
> things happen with other cache settings, but with "none" it works just
> fine (but of course that might impose an i/o performance penalty in
> some cases?). I think the default is "unsafe" in 0.9.7 and later? It
> would be nice if the cache settings were documented more clearly.

More information about the libvirt-users mailing list