Re: [gpfsug-discuss] SMB quotas query

2018-05-22 Thread Sobey, Richard A
A Sent: 14 May 2018 12:54 To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] SMB quotas query Thanks Jonathan. What I failed to mention in my OP was that MacOS clients DO report the correct size of each mounted folder. Not sure how that changes anything except to reinforce the idea th

Re: [gpfsug-discuss] SMB quotas query

2018-05-16 Thread Christof Schmitt
> I am really not sure what the issue with the code path for this as it> is 35 lines of C including comments to get the fileset if one exists> for a given path on a GPFS file system. You open a random file on the> path, call gpfs_fcntl and then gpfs_getfilesetid. It's then a simple> call to gpfs_qu

Re: [gpfsug-discuss] SMB quotas query

2018-05-16 Thread Sobey, Richard A
onathan Buzzard Sent: 16 May 2018 10:02 To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] SMB quotas query On Wed, 2018-05-16 at 08:51 +, Sobey, Richard A wrote: > For us the only one that matters is the fileset quota. With or without > –perfileset-quota set, we simply see

Re: [gpfsug-discuss] SMB quotas query

2018-05-16 Thread Jonathan Buzzard
On Wed, 2018-05-16 at 08:51 +, Sobey, Richard A wrote: > For us the only one that matters is the fileset quota. With or > without –perfileset-quota set, we simply see a quota value for one of > the filesets that is mapped to a drive, and every other mapped drives > inherits the same value. whet

Re: [gpfsug-discuss] SMB quotas query

2018-05-16 Thread Sobey, Richard A
PMR. Richard From: gpfsug-discuss-boun...@spectrumscale.org On Behalf Of Christof Schmitt Sent: 15 May 2018 19:50 To: gpfsug-discuss@spectrumscale.org Cc: gpfsug-discuss@spectrumscale.org Subject: Re: [gpfsug-discuss] SMB quotas query To maybe clarify a few points: There are three quotas: user

Re: [gpfsug-discuss] SMB quotas query

2018-05-15 Thread Christof Schmitt
To maybe clarify a few points: There are three quotas: user, group and fileset. User and group quota can be applied on the fileset level or the file system level.   Samba with the vfs_gpfs module, only queries the user and group quotas on the requested path. If the fileset quota should also be appl

Re: [gpfsug-discuss] SMB quotas query

2018-05-15 Thread Jonathan Buzzard
On Tue, 2018-05-15 at 13:10 +0300, Yaron Daniel wrote: > Hi > > So - u want to get quota report per fileset quota - right ? > We use this param when we want to monitor the NFS exports with df , i > think this should also affect the SMB filesets. > > Can u try to enable it and see if it works ? >

Re: [gpfsug-discuss] SMB quotas query

2018-05-15 Thread Yaron Daniel
e: 05/15/2018 11:11 AM Subject: Re: [gpfsug-discuss] SMB quotas query Sent by:gpfsug-discuss-boun...@spectrumscale.org Hi Yaron It?s currently set to no. Thanks Richard From: gpfsug-discuss-boun...@spectrumscale.org On Behalf Of Yaron Daniel Sent: 14 May 2018 22:27

Re: [gpfsug-discuss] SMB quotas query

2018-05-15 Thread Sobey, Richard A
Hi Yaron It's currently set to no. Thanks Richard From: gpfsug-discuss-boun...@spectrumscale.org On Behalf Of Yaron Daniel Sent: 14 May 2018 22:27 To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] SMB quotas query Hi What is the output of mmlsfs - does you

Re: [gpfsug-discuss] SMB quotas query

2018-05-14 Thread Christof Schmitt
That is an interesting point. On the protocol level, the client opens a directory and then issues a QUERY_INFO to ask for the available space. In Samba, we then check the available space and applicable quotas on that path and return the requested information.   The main question is probably on whic

Re: [gpfsug-discuss] SMB quotas query

2018-05-14 Thread Yaron Daniel
e-mail: y...@il.ibm.com IBM Israel From: Jonathan Buzzard To: gpfsug main discussion list Date: 05/14/2018 03:22 PM Subject:Re: [gpfsug-discuss] SMB quotas query Sent by:gpfsug-discuss-boun...@spectrumscale.org On Mon, 2018-05-14 at 11:54

Re: [gpfsug-discuss] SMB quotas query

2018-05-14 Thread Jonathan Buzzard
On Mon, 2018-05-14 at 11:54 +, Sobey, Richard A wrote: > Thanks Jonathan. What I failed to mention in my OP was that MacOS > clients DO report the correct size of each mounted folder. Not sure > how that changes anything except to reinforce the idea that it's > Windows at fault. > In which ca

Re: [gpfsug-discuss] SMB quotas query

2018-05-14 Thread Sobey, Richard A
-boun...@spectrumscale.org On Behalf Of Jonathan Buzzard Sent: 14 May 2018 11:45 To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] SMB quotas query On Mon, 2018-05-14 at 10:09 +, Sobey, Richard A wrote: [SNIP] >   > I am worried that IBM may tell us we’re doing it wrong (humm) and t

Re: [gpfsug-discuss] SMB quotas query

2018-05-14 Thread Jonathan Buzzard
On Mon, 2018-05-14 at 10:09 +, 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

[gpfsug-discuss] SMB quotas query

2018-05-14 Thread Sobey, Richard A
Hi all, I want to run this past the group to see if I’m going mad or not. We do have an open PMR about the issue which is currently being escalated. We have 400 independent filesets all linked to a path in the filesystem. The root of that path is then exported via SMB, e.g.: Fileset1: /gpfs/ro