<div dir="ltr">You should perhaps open a [RFE] ? </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 23, 2013 at 4:56 AM, David Gibbons <span dir="ltr">&lt;<a href="mailto:david.c.gibbons@gmail.com" target="_blank">david.c.gibbons@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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" target="_blank">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>
<br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">
<i style="font-family:arial;font-size:small">Religious confuse piety with mere ritual, the virtuous confuse regulation with outcomes</i><br></div>
</div>