Samba vfs_glusterfs Quota Support?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

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:

# gluster volume quota gfsv0 list
        path              limit_set          size
----------------------------------------------------------------------------------
/shares/testsharedave       10GB                8.0KB

And I've configured the share in samba (and can access it fine):
# cat /etc/samba/smb.conf
[testsharedave]
        vfs objects = glusterfs
        glusterfs:volfile_server = localhost
        glusterfs:volume = gfsv0
        path = /shares/testsharedave
        valid users = dave
        guest ok = no
        writeable = yes

But windows does not reflect the quota and instead shows the full size of
the gluster volume.

I've reviewed the code in
https://forge.gluster.org/samba-glusterfs/samba-glusterfs-vfs/blobs/master/src/vfs_glusterfs.c
--
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.

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.

Cheers,
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20131023/a0ecdd00/attachment.html>


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux