<div dir="ltr">Hi All,<div><br></div><div>I&#39;m setting up a gluster cluster that will be accessed via smb. I was hoping that the quotas. I&#39;ve configured a quota on the path itself:</div><div><br></div><div><div># gluster volume quota gfsv0 list</div>
<div>        path              limit_set          size</div><div>----------------------------------------------------------------------------------</div><div>/shares/testsharedave       10GB                8.0KB</div></div>
<div><br></div><div>And I&#39;ve configured the share in samba (and can access it fine):</div><div># cat /etc/samba/smb.conf</div><div><div>[testsharedave]</div><div>        vfs objects = glusterfs</div><div>        glusterfs:volfile_server = localhost</div>
<div>        glusterfs:volume = gfsv0</div><div>        path = /shares/testsharedave</div><div>        valid users = dave</div><div>        guest ok = no</div><div>        writeable = yes</div></div><div><br></div><div>But windows does not reflect the quota and instead shows the full size of the gluster volume.</div>
<div><br></div><div>I&#39;ve reviewed the code in <a href="https://forge.gluster.org/samba-glusterfs/samba-glusterfs-vfs/blobs/master/src/vfs_glusterfs.c">https://forge.gluster.org/samba-glusterfs/samba-glusterfs-vfs/blobs/master/src/vfs_glusterfs.c</a> -- which does not appear to support passing gluster quotas to samba. So I don&#39;t think my installation is broken, it seems like maybe this just isn&#39;t supported.</div>
<div><br></div><div>Can anyone speak to whether or not quotas are going to be implemented in vfs_glusterfs for samba? Or if I&#39;m just crazy and doing this wrong ;)? I&#39;m definitely willing to help with the code but don&#39;t have much experience with either samba modules or the gluster API.</div>
<div><br></div><div>Cheers,</div><div>Dave</div><div><br></div></div>