Re: cephfs quota samba export
hi chris and thanks for answer. do you use samba vfs ceph/ceph_new or mount cephfs on samba server and export that? what do you mean, "cephfs root though" i would like to have something like that data/users/user1 10g data/users/user2 5g data/users/user3 20g data/users/user4 10g data/share1 100g data/share2 200g ... regards, ronny Am 2026-03-16 11:56, schrieb Chris Palmer via ceph-users:
I do use cephfs exported via samba. My quota is simply done at the cephfs root though. That works fine with Win10 & Win11 hosts - they see the correct total/used/available space. I haven't tried multiple quotas or setting further down the tree though.
Regards, Chris
On 16/03/2026 10:20, ronny.lippold via ceph-users wrote:
hi, hope you can help me.
i like to export an cephfs via samba an ctdb. its all working fine via kernel cephfs client.
i set now quota to the users home dir. quota also working fine.
but now, the problem ... on the client machine, i do not see the quota space. mostly, i see the complete cluster, or on windows i see nothing about disk usage.
it would be important for us and the user, to se the remaining space.
samba vfs ceph and ceph_new would not work ... i always got: cephmount_mount_fs: [CEPH] mount failed: user_id='XXX' fsname='XXX' No such file or directorymake_connection_snum: SMB_VFS_CONNECT for service 'XXX' at 'PATH' failed: No such file or directory
does anybody use cephfs with samba an quota? running out of ideas, so an help is welcome.
regards, ronny
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Hi Ronny I use the very straightforward method of having a linux VM that kernel-mounts the cephfs filesystem via fstab at /mnt/cephfs. I apply an 8TB quota to one of the top-level directories /mnt/cephfs/data2 (not the root of /mnt/cephfs as I mistakenly said earlier!). Samba then exports /mnt/cephfs/data2/x, /mnt/cephfs/data2/y etc just via the VM's directory tree. Each of the exports (some with different access permissions etc specified in samba) all correctly share the quota set on data2. This is a low-usage cluster, especially via samba, and has always just worked. So I've never had any reason to experiment with vfs etc. Regards, Chris On 16/03/2026 11:07, ronny.lippold wrote:
hi chris and thanks for answer.
do you use samba vfs ceph/ceph_new or mount cephfs on samba server and export that? what do you mean, "cephfs root though"
i would like to have something like that
data/users/user1 10g data/users/user2 5g data/users/user3 20g data/users/user4 10g data/share1 100g data/share2 200g ...
regards, ronny
Am 2026-03-16 11:56, schrieb Chris Palmer via ceph-users:
I do use cephfs exported via samba. My quota is simply done at the cephfs root though. That works fine with Win10 & Win11 hosts - they see the correct total/used/available space. I haven't tried multiple quotas or setting further down the tree though.
Regards, Chris
On 16/03/2026 10:20, ronny.lippold via ceph-users wrote:
hi, hope you can help me.
i like to export an cephfs via samba an ctdb. its all working fine via kernel cephfs client.
i set now quota to the users home dir. quota also working fine.
but now, the problem ... on the client machine, i do not see the quota space. mostly, i see the complete cluster, or on windows i see nothing about disk usage.
it would be important for us and the user, to se the remaining space.
samba vfs ceph and ceph_new would not work ... i always got: cephmount_mount_fs: [CEPH] mount failed: user_id='XXX' fsname='XXX' No such file or directorymake_connection_snum: SMB_VFS_CONNECT for service 'XXX' at 'PATH' failed: No such file or directory
does anybody use cephfs with samba an quota? running out of ideas, so an help is welcome.
regards, ronny
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
ok, so like my setup ... thanks i will try some more tests and give you feedback. regards, ronny Am 2026-03-16 12:33, schrieb Chris Palmer:
Hi Ronny
I use the very straightforward method of having a linux VM that kernel-mounts the cephfs filesystem via fstab at /mnt/cephfs. I apply an 8TB quota to one of the top-level directories /mnt/cephfs/data2 (not the root of /mnt/cephfs as I mistakenly said earlier!). Samba then exports /mnt/cephfs/data2/x, /mnt/cephfs/data2/y etc just via the VM's directory tree. Each of the exports (some with different access permissions etc specified in samba) all correctly share the quota set on data2.
This is a low-usage cluster, especially via samba, and has always just worked. So I've never had any reason to experiment with vfs etc.
Regards, Chris
On 16/03/2026 11:07, ronny.lippold wrote:
hi chris and thanks for answer.
do you use samba vfs ceph/ceph_new or mount cephfs on samba server and export that? what do you mean, "cephfs root though"
i would like to have something like that
data/users/user1 10g data/users/user2 5g data/users/user3 20g data/users/user4 10g data/share1 100g data/share2 200g ...
regards, ronny
Am 2026-03-16 11:56, schrieb Chris Palmer via ceph-users:
I do use cephfs exported via samba. My quota is simply done at the cephfs root though. That works fine with Win10 & Win11 hosts - they see the correct total/used/available space. I haven't tried multiple quotas or setting further down the tree though.
Regards, Chris
On 16/03/2026 10:20, ronny.lippold via ceph-users wrote:
hi, hope you can help me.
i like to export an cephfs via samba an ctdb. its all working fine via kernel cephfs client.
i set now quota to the users home dir. quota also working fine.
but now, the problem ... on the client machine, i do not see the quota space. mostly, i see the complete cluster, or on windows i see nothing about disk usage.
it would be important for us and the user, to se the remaining space.
samba vfs ceph and ceph_new would not work ... i always got: cephmount_mount_fs: [CEPH] mount failed: user_id='XXX' fsname='XXX' No such file or directorymake_connection_snum: SMB_VFS_CONNECT for service 'XXX' at 'PATH' failed: No such file or directory
does anybody use cephfs with samba an quota? running out of ideas, so an help is welcome.
regards, ronny
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
participants (2)
-
Chris Palmer
-
ronny.lippold