GlusterFS의 Native Client(FUSE) 로 스토리지를 구성하여 VM을 생성하려 했으나,
아래처럼 Libvirt에서 실패...
Libvirt 로그
qemu: could not open disk image /mnt/gluster/test-vol2: Invalid argument
이유는, FUSE 모듈이 마운트된 FUSE기반 파일시스템상의 디스크 이미지를 열기 위한 O_DIRECT system call을 지원하지 않기 때문이다.
Gluster에서 fuse 모듈을 다운받고 compile / install을 하면 된다.
http://download.gluster.com/pub/gluster/glusterfs/LATEST/CentOS/
qemu-kvm은 raw 디스크 이미지를 열기 위해 O_SYNC (cache=writethough)을 사용할 것이다. qcow2 이미지는 O_DIRECT (cache=none)을 사용한다.
http://thr3ads.net/gluster-users/2010/09/477455-Failed-on-booting-qcow2-image-files-on-glusterfs
libvirt disk option "cache=none" prevents VM from booting on GlusterFS/FUSE
"cache=none" 을 제거하라.
https://bugs.launchpad.net/nova/+bug/959637