Re: O_DIRECT (I think) again

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
We're using liboindirect and it's works. Regarding "not mantained" - it's not required bz this is very simple and short lib.

2015-02-13 18:55 GMT+03:00 Anand Avati <avati@xxxxxxxxxxx>:

O_DIRECT support in fuse has been for quite some time now, surely well before 3.4


On Fri, Feb 13, 2015, 02:37 Pedro Serotto <pedro.serotto@xxxxxxxx> wrote:
Dear All,

I am actually using the following software stack:

debian wheezy with kernel 3.2.0-4-amd64, glusterfs 3.6.2, openstack Juno, libvirt 1.2.9.

If I try to attach a block storage to a running vm, Openstack shows the following error:   
"DeviceIsBusy: The supplied device (vdc) is busy".

If I try to attach a block storage to a running vm, Libvirt shows the following error: 
 "qemuMonitorTextAddDrive:2621 : operation failed: open disk image file failed"

Looking up for this issue on the web, I found out that Libvirt tries to open the block device by using  O_DIRECT flag on; This last one is supported only by fuse for kernel >3.4.
Therefore, I tried to apply some options (http://www.gluster.org/documentation/use_cases/Virt-store-usecase/) to Gluster, but the problem has not been solved.
I also found  https://github.com/avati/liboindirect but it is old and not mantained.

Does somebody found himself in the same situation? If yes, could you please show me how to solve it by mainteining the same version of my software stack.


Thanks&Regards

Pedro


_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users



--
Best regards,
Artem Kuzmitskiy
Severnoe DB JSC
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux