[gpfsug-discuss] SMB quotas query
Jonathan Buzzard
jonathan.buzzard at strath.ac.uk
Mon May 14 11:44:51 BST 2018
On Mon, 2018-05-14 at 10:09 +0000, Sobey, Richard A wrote:
[SNIP]
>
> I am worried that IBM may tell us we’re doing it wrong (humm) and to
> create individual exports for each fileset but this will quickly
> become tiresome!
>
Worst case scenario you could fall back to using the dfree option in
smb.conf and then use a program to get the file quota. I have the ~100
lines of C that you need it. Though it has been ~5 years since I last
used it.
In fact the whole reporting the fileset quota as the disk size is my
idea, and the dfree config option is how I implemented it prior to IBM
adding it to the vfs_gpfs module.
A quick check shows a commit from Jeremy Allison on June 18th last year
to use const stuct smb_filename, the comment on the commit is
…instead of const char *.
We need to migrate all pathname based VFS calls to use a struct
to finish modernising the VFS with extra timestamp and flags
parameters.
I suspect this change has broken the behaviour.
JAB.
--
Jonathan A. Buzzard Tel: +44141-5483420
HPC System Administrator, ARCHIE-WeSt.
University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
More information about the gpfsug-discuss
mailing list