Toggle Alerts Log
Comment on [#7643] make smb backend quota aware
Your Email Address
Enter the letters below:
_ ___ ___ __ __ _____ /_\ | _ \_ _| \/ |_ _| / _ \| /| || |\/| | | | /_/ \_\_|_\___|_| |_| |_|
>> I don't think I understand what you mean by this. That's just the > >> usage; it's not a quota, and it may or may not be accurate (using > >> sshfs, for example, the disk is always listed as having 1,000 GB > >> available). So what would be gained by parsing it? > > > > We have EMC NS40 server as a NAS-server and it has a feature where > the reported share size is the same as user quota. Therefore this > line actually tells us in our system what is the user quota and disk > usage. And each users home directory is a separate share. Each user > can access their home directory as a with a share name "Home". > > > > Is the samba default that it always reports for the share size the > size of the whole disk or parent filesystem and as a usage the whole > usage in the disk? If this is the case then parsing this line might > be useless. > > > > Anyway, I hacked together a very basic support to parsing the usage > line and it seems to work in our system. > > > > This revealed that gollem quota support is not configurable per user > but per defined backend system.
Watch this ticket