On Tue, Oct 9, 2018 at 9:14 AM Felix Stolte <[email protected]> wrote:
>
> Hi folks,
>
> i'm running a luminous cluster on Ubuntu 18.04 an want to share folders
> on cephfs with samba using the vfs_ceph. Sharing works fine, but the
> quotas I set on the directories is ignored and every share reports its
> size as the total size of the cephfs. Anyone got this working? Or is the
> vfs lacking quota support?

Looks like the Samba VFS is always mounting CephFS at the root[1],
including if you're exporting a subdir (nfs ganesha used to be this
way too) -- CephFS can only do the "magic" quota-based statfs if it
knows it's mounting a particular subdir.

John

1. 
https://github.com/samba-team/samba/blob/master/source3/modules/vfs_ceph.c#L123

> Regards Felix
>
> --
> Forschungszentrum Jülich GmbH
> 52425 Jülich
> Sitz der Gesellschaft: Jülich
> Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
> Vorsitzender des Aufsichtsrats: MinDir. Dr. Karl Eugen Huthmacher
> Geschäftsführung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
> Prof. Dr. Sebastian M. Schmidt
>
>
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to