-
Notifications
You must be signed in to change notification settings - Fork 187
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
Comments
No, as far as I'm aware it will always show the size of the FS, regardless
of quotas.
…On Sat, Sep 29, 2018, 20:16 eleaner ***@***.***> wrote:
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?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#773>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABTmrGg31iPHXm4Y3Ep2ijacEGz8bs_yks5uf2ScgaJpZM4XAezP>
.
|
I believe that moosefs can show the correct sizes. Would this be then a feature request? |
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. |
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?
The text was updated successfully, but these errors were encountered: