<div dir="ltr">David,<div><br></div><div>It should be </div><div><br></div><div># gluster volume set gfsv0 features.quota-deem-statfs on</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 30, 2013 at 6:06 AM, David Gibbons <span dir="ltr"><<a href="mailto:david.c.gibbons@gmail.com" target="_blank">david.c.gibbons@gmail.com</a>></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 Lala,<div><br></div><div>Thank you. I should have been more clear and you are correct, I can't write data above the quota. I was referring only to the listing of "disk size" in windows/samba land.</div>
<div><br></div><div>Thanks for the tip in quota-deem-statfs. Here are my results with that command:</div><div><div># gluster volume set gfsv0 quota-deem-statfs on</div><div>volume set: failed: option : quota-deem-statfs does not exist</div>
<div>Did you mean dump-fd-stats or quota-timeout?</div></div><div><br></div><div>Which Gluster version does that feature setting apply to?</div><div><br></div><div>Cheers,</div><div>Dave</div></div><div class="HOEnZb"><div class="h5">
<div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Oct 30, 2013 at 3:09 AM, Lalatendu Mohanty <span dir="ltr"><<a href="mailto:lmohanty@redhat.com" target="_blank">lmohanty@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div><div>
<div>On 10/23/2013 05:26 PM, David Gibbons
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi All,
<div><br>
</div>
<div>I'm setting up a gluster cluster that will be accessed via
smb. I was hoping that the quotas. I'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'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'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't think my installation is broken, it seems
like maybe this just isn'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'm just crazy
and doing this wrong ;)? I'm definitely willing to help with
the code but don't have much experience with either samba
modules or the gluster API.</div>
<div><br>
</div>
</div>
</blockquote></div></div>
Hi David,<br>
Quotas are supported by vfs_glusterfs for samba. I have also set
quota on the volume correctly. If you try to write more data then
the quota on the directory(/shares/testsharedave ), it will not
allow. <br>
<br>
But for the clients (i.e. Windows/smb, nfs, fuse) to reflect in the
meta data information (i.e. properties in Windows) , you have run
below volume set command on respective volume.<br>
<br>
gluster volume set <VOLUME NAME> quota-deem-statfs on<br>
<br>
-Lala<div><br>
<blockquote type="cite">
<div dir="ltr">
<div>Cheers,</div>
<div>Dave</div>
<div><br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Gluster-users mailing list
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<br>
</div></div>
<br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">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></div>
</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>