<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">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>Cheers,</div><div>Dave</div><div><br></div></div>