[libvirt] cache=none

Daniel P. Berrange berrange at redhat.com
Thu Oct 22 16:35:53 UTC 2009


On Thu, Oct 22, 2009 at 06:33:25PM +0200, Stefan wrote:
> > 
> >> * Is it generally a bad idea to use XFS with KVM ?
> > 
> > I don't know of any problems with using XFS, there was a bug a long while
> > back with a combo of AIO + sparse files, but that's long since fixed.
> > 
> 
> There are several warnings using XFS with KVM because of the intensive
> Write-Caching. Are these warnings obsolete ? cache=none in libvirtd.conf
> is not necessary anymore (sorry I'm a kvm/libvir-beginner) ?

Enabling write caching is dangerous on any filesystem in the event of the
host OS crashing before data is flushed. I don't think XFS is special in
this regard really. Everyone should disable write caching unless they
don't care about their data.


Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list