Hi,

In following patch I am using ctypes to load libgfapi(GlusterFS API) to get the Gluster volume statvfs information.
http://gerrit.ovirt.org/#/c/17822

I am getting *segfault* when I run
vdsClient 0 glusterVolumeSizeInfoGet volumeName=gv1

But I checked as below and it is working.

    cd /usr/share/vdsm
    python
    >> from gluster import gfapi
    >> print gfapi.volumeStatvfs("gv1")
posix.statvfs_result(f_bsize=4096L, f_frsize=4096L, f_blocks=25803070L, f_bfree=19130426L, f_bavail=17819706L, f_files=6553600L, f_ffree=5855876L, f_favail=5855876L, f_flag=4096L, f_namemax=255L)

Please suggest how I can debug this issue.

--
Regards
Aravinda


_______________________________________________
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel

Reply via email to