Hi Jaime / Sven,

If Jaime’s interpretation is correct about user1 continuing to be able to write 
to “group2” files even though that group is at their hard limit, then that’s a 
bug that needs fixing.  I haven’t tested that myself, and we’re in a downtime 
right now so I’m a tad bit busy, but if I need to I’ll test it on our test 
cluster later this week.

Kevin

On Aug 3, 2016, at 1:30 PM, Jaime Pinto 
<[email protected]<mailto:[email protected]>> wrote:

Quoting "Buterbaugh, Kevin L" 
<[email protected]<mailto:[email protected]>>:

Hi Sven,

Wait - am I misunderstanding something here?  Let?s say that I have  ?user1? 
who has primary group ?group1? and secondary group ?group2?.   And let?s say 
that they write to a directory where the bit on the  directory forces all files 
created in that directory to have group2  associated with them.  Are you saying 
that those files still count  against group1?s group quota???

Thanks for clarifying?

Kevin

Not really,

My interpretation is that all files written with group2 will count towards the 
quota on that group. However any users with group2 as the primary group will be 
prevented from writing any further when the group2 quota is reached. However 
the culprit user1 with primary group as group1 won't be detected by gpfs, and 
can just keep going on writing group2 files.

As far as the individual user quota, it doesn't matter: group1 or group2 it 
will be counted towards the usage of that user.

It would be interesting if the behavior was more as expected. I just checked 
with my Lustre counter-parts and they tell me whichever secondary group is hit 
first, however many there may be, the user will be stopped. The problem then 
becomes identifying which of the secondary groups hit the limit for that user.

Jaime



On Aug 3, 2016, at 11:35 AM, Sven Oehme  
<[email protected]<mailto:[email protected]><mailto:[email protected]>> wrote:

Hi,

quotas are only counted against primary group

sven


On Wed, Aug 3, 2016 at 9:22 AM, Jaime Pinto  
<[email protected]<mailto:[email protected]><mailto:[email protected]>>
 wrote:
Suppose I want to set both USR and GRP quotas for a user, however  GRP is not 
the primary group. Will gpfs enforce the secondary group  quota for that user?

What I mean is, if the user keeps writing files with secondary group  as the 
attribute, and that overall group quota is reached, will that  user be stopped 
by gpfs?

Thanks
Jaime




        ************************************
         TELL US ABOUT YOUR SUCCESS STORIES
        http://www.scinethpc.ca/testimonials
        ************************************
---
Jaime Pinto
SciNet HPC Consortium  - Compute/Calcul Canada
www.scinet.utoronto.ca<http://www.scinet.utoronto.ca><http://www.scinet.utoronto.ca/>
 -  
www.computecanada.org<http://www.computecanada.org><http://www.computecanada.org/>
University of Toronto
256 McCaul Street, Room 235
Toronto, ON, M5T1W5
P: 416-978-2755<tel:416-978-2755>
C: 416-505-1477<tel:416-505-1477>



----------------------------------------------------------------
This message was sent using IMP at SciNet Consortium, University of Toronto.


—
Kevin Buterbaugh - Senior System Administrator
Vanderbilt University - Advanced Computing Center for Research and Education
[email protected]<mailto:[email protected]> - 
(615)875-9633



_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss

Reply via email to