nova.conf(nova-compute.conf)之cache

http://blog.chinaunix.net/uid-26000137-id-5583962.html


修改nova.conf
disk_cachemodes="network=writeback"
Several options can be used depending on the disk type:
file
block
network
mount
Caching methods available:
none,
writethrough,
writeback,
directsync,
writethrough,
unsafe,
更多查看http://ceph.com/planet/configure-ceph-rbd-caching-on-openstack-nova/
http://docs.ceph.com/docs/master/rbd/rbd-config-ref/
修改
sed -i '/#disk_cachemodes/adisk_cachemodes="network=writeback"' /etc/nova/nova.conf
重启后验证:
#virsh dumpxml instance-00000026

你可能感兴趣的:(nova.conf(nova-compute.conf)之cache)