[CentOS] kvm and 6.5

John R Pierce pierce at hogranch.com
Tue May 27 07:56:15 UTC 2014


On 5/26/2014 11:58 PM, Andrew Holway wrote:
> Permissions on /var/lib/libvirt/images/kfat.img? selinux?
>
> I had this exact problem a while back and I am racking my brains as to what
> I did to fix it.

in my case,

# virt-install --network bridge:br0 --name kfat --ram=2048 --vcpus=2  \
    --disk path=/var/lib/libvirt/images/kfat.img,size=16,cache=writeback \
    --cdrom=/home/downloads/CentOS-6.5-x86_64-minimal.iso

worked.

the 'cache=writeback' fixed it, the fundamental problem was, 
/var/lib/libvirt/images is XFS on a SSD so is using 4096 byte sectors, 
and kvm has an impedance mismatch with that.


-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast




More information about the CentOS mailing list