<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    In following patch I am using ctypes to load libgfapi(GlusterFS API)
    to get the Gluster volume statvfs information. <br>
    <a class="moz-txt-link-freetext" href="http://gerrit.ovirt.org/#/c/17822">http://gerrit.ovirt.org/#/c/17822</a><br>
    <br>
    I am getting <b>segfault</b> when I run <br>
    vdsClient 0 glusterVolumeSizeInfoGet volumeName=gv1<br>
    <br>
    But I checked as below and it is working.<br>
    <br>
    &nbsp;&nbsp;&nbsp; cd /usr/share/vdsm<br>
    &nbsp;&nbsp;&nbsp; python<br>
    &nbsp;&nbsp;&nbsp; &gt;&gt; from gluster import gfapi<br>
    &nbsp;&nbsp;&nbsp; &gt;&gt; print gfapi.volumeStatvfs("gv1")<br>
    &nbsp;&nbsp;&nbsp; posix.statvfs_result(f_bsize=4096L, f_frsize=4096L,
    f_blocks=25803070L, f_bfree=19130426L, f_bavail=17819706L,
    f_files=6553600L,&nbsp;&nbsp;&nbsp;&nbsp; f_ffree=5855876L, f_favail=5855876L,
    f_flag=4096L, f_namemax=255L)<br>
    <br>
    Please suggest how I can debug this issue.<br>
    <br>
    --<br>
    Regards<br>
    Aravinda<br>
    <br>
    <br>
  </body>
</html>