Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quota on smb share #773

Open
eleaner opened this issue Sep 29, 2018 · 3 comments
Open

quota on smb share #773

eleaner opened this issue Sep 29, 2018 · 3 comments

Comments

@eleaner
Copy link

eleaner commented Sep 29, 2018

Hi,

I need to set up smb share on one of the lizard subfolders.
I limited the quota on this folder and even mounted it separately.
Still, df and samba share reports the complete size of the filesystem
Do I do something wrong or is it a bug?

@Zorlin
Copy link

Zorlin commented Sep 30, 2018 via email

@eleaner
Copy link
Author

eleaner commented Oct 7, 2018

I believe that moosefs can show the correct sizes. Would this be then a feature request?

@nickcoons
Copy link

The amount of free space shown is the amount of free space across the available drives in the chunkserver. It can't really show it to you any other way, because it can't predict how goals will be set on yet non-existent files.

However, if you're wanting an SMB client to show a lesser amount of space, you can look into the "dfree command" option for Samba in the share declaration section of smb.conf. Here, you can create a script that returns the information you want Samba to report to the client as total and available space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants