<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>
cd /usr/share/vdsm<br>
python<br>
>> from gluster import gfapi<br>
>> print gfapi.volumeStatvfs("gv1")<br>
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)<br>
<br>
Please suggest how I can debug this issue.<br>
<br>
--<br>
Regards<br>
Aravinda<br>
<br>
<br>
</body>
</html>