<html><body><p><font size="2">Please also note that when you write as root, you are not restricted by the quota limits.</font><br><br><font size="2">See example:</font><br><br><font size="2" face="Courier New">Write as non root user and run into hard limit:</font><br><font size="2" face="Courier New">[mr@home-11 limited]$ dd if=/dev/urandom of=testfile2 bs=1000 count=100000</font><br><font size="2" face="Courier New">dd: error writing ‘testfile2’: Disk quota exceeded</font><br><font size="2" face="Courier New">29885+0 records in</font><br><font size="2" face="Courier New">29884+0 records out</font><br><font size="2" face="Courier New">29884000 bytes (30 MB) copied, 3.38491 s, 8.8 MB/s</font><br><br><font size="2" face="Courier New">[root@home-11 limited]# mmrepquota gpfs0</font><br><font size="2" face="Courier New">                         Block Limits                                    |                     File Limits</font><br><font size="2" face="Courier New">Name       type             KB      quota      limit   in_doubt    grace |    files   quota    limit in_doubt    grace</font><br><font size="2" face="Courier New">...</font><br><font size="2" face="Courier New">limited    FILESET      322176     214784     322304        128   7 days |        5       0        0        0     none</font><br><br><font size="2" face="Courier New">Now write as root user and exceed hard limit:</font><br><font size="2" face="Courier New">[root@home-11 limited]#  dd if=/dev/urandom of=testfile2 bs=1000 count=100000</font><br><font size="2" face="Courier New">100000+0 records in</font><br><font size="2" face="Courier New">100000+0 records out</font><br><font size="2" face="Courier New">100000000 bytes (100 MB) copied, 12.8355 s, 7.8 MB/s</font><br><br><font size="2" face="Courier New">[root@home-11 limited]# mmrepquota gpfs0</font><br><font size="2" face="Courier New">                         Block Limits                                    |                     File Limits</font><br><font size="2" face="Courier New">Name       type             KB      quota      limit   in_doubt    grace |    files   quota    limit in_doubt    grace</font><br><font size="2" face="Courier New">...</font><br><font size="2" face="Courier New">limited    FILESET      390656     214784     322304    8939520   7 days |        5       0        0       40     none</font><br><br><font size="1" face="Arial">Mit freundlichen Grüßen / Kind regards</font><br><br><b><font size="1" face="Arial">Dr. Markus Rohwedder</font></b><br><br><font size="1" color="#0055AA" face="Arial">Spectrum Scale GUI Development</font><table border="0" cellspacing="0" cellpadding="0"><tr valign="top"><td class="small_font" width="480" colspan="4" valign="middle"><hr width="100%" size="2" align="left" style="color:#0055AA; "></td></tr>
<tr valign="top"><td class="small_font" width="480" colspan="4" valign="middle"><img width="1" height="1" src="cid:1__=8FBB0B56DFB5738D8f9e8a93df938690918c8FB@" border="0" alt=""></td></tr>
<tr valign="top"><td class="inner" width="36" valign="middle"><font size="1" color="#0055AA" face="Arial">Phone:</font></td><td class="inner" width="160" valign="middle"><font size="1" color="#0055AA" face="Arial">+49 7034 6430190</font></td><td class="inner" width="214" valign="middle"><font size="1" color="#0055AA" face="Arial"> IBM Deutschland</font></td><td width="70" rowspan="4" valign="middle"><div align="right"><img src="cid:2__=8FBB0B56DFB5738D8f9e8a93df938690918c8FB@" width="87" height="30" align="bottom"></div></td></tr>
<tr valign="top"><td class="inner" width="36" valign="middle"><font size="1" color="#0055AA" face="Arial">E-Mail:</font></td><td class="inner" width="160" valign="middle"><font size="1" color="#0055AA" face="Arial">rohwedder@de.ibm.com</font></td><td class="inner" width="214" valign="middle"><font size="1" color="#0055AA" face="Arial"> Am Weiher 24</font></td></tr>
<tr valign="top"><td class="inner" width="36" valign="middle"><img width="1" height="1" src="cid:1__=8FBB0B56DFB5738D8f9e8a93df938690918c8FB@" border="0" alt=""></td><td class="inner" width="160" valign="middle"><img width="1" height="1" src="cid:1__=8FBB0B56DFB5738D8f9e8a93df938690918c8FB@" border="0" alt=""></td><td class="inner" width="214" valign="middle"><font size="1" color="#0055AA" face="Arial"> 65451 Kelsterbach</font></td></tr>
<tr valign="top"><td class="inner" width="36" valign="middle"><img width="1" height="1" src="cid:1__=8FBB0B56DFB5738D8f9e8a93df938690918c8FB@" border="0" alt=""></td><td class="inner" width="160" valign="middle"><img width="1" height="1" src="cid:1__=8FBB0B56DFB5738D8f9e8a93df938690918c8FB@" border="0" alt=""></td><td class="inner" width="214" valign="middle"><font size="1" color="#0055AA" face="Arial"> Germany</font></td></tr>
<tr valign="top"><td class="small_font" width="480" colspan="4" valign="middle"><hr width="100%" size="2" align="left" style="color:#0055AA; "></td></tr>
<tr valign="top"><td class="small_font" width="480" colspan="4" valign="middle"><img width="1" height="1" src="cid:1__=8FBB0B56DFB5738D8f9e8a93df938690918c8FB@" border="0" alt=""></td></tr>
<tr valign="top"><td class="foot" width="480" colspan="4" valign="middle"><font size="1" color="#999999" face="Arial">IBM Deutschland Research & Development GmbH / Vorsitzender des Aufsichtsrats: Martina Köderitz <br>Geschäftsführung: Dirk Wittkopp<br>Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294 </font></td></tr></table><br><br><img width="16" height="16" src="cid:3__=8FBB0B56DFB5738D8f9e8a93df938690918c8FB@" border="0" alt="Inactive hide details for "Jaime Pinto" ---10/26/2017 12:18:45 AM---Did you try to run mmcheckquota on the device I observed th"><font size="2" color="#424282">"Jaime Pinto" ---10/26/2017 12:18:45 AM---Did you try to run mmcheckquota on the device I observed that in the most recent versions (for the l</font><br><br><font size="2" color="#5F5F5F">From:        </font><font size="2">"Jaime Pinto" <pinto@scinet.utoronto.ca></font><br><font size="2" color="#5F5F5F">To:        </font><font size="2">"gpfsug main discussion list" <gpfsug-discuss@spectrumscale.org>, "Emmanuel Barajas Gonzalez" <vanfalen@mx1.ibm.com></font><br><font size="2" color="#5F5F5F">Cc:        </font><font size="2">gpfsug-discuss@spectrumscale.org</font><br><font size="2" color="#5F5F5F">Date:        </font><font size="2">10/26/2017 12:18 AM</font><br><font size="2" color="#5F5F5F">Subject:        </font><font size="2">Re: [gpfsug-discuss] Fileset quotas enforcement</font><br><font size="2" color="#5F5F5F">Sent by:        </font><font size="2">gpfsug-discuss-bounces@spectrumscale.org</font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><tt><font size="2">Did you try to run mmcheckquota on the device<br><br>I observed that in the most recent versions (for the last 3 years)  <br>there is a real long lag for GPFS to process the internal accounting.  <br>So there is a slippage effects that skews quota operations.  <br>mmcheckquota is supposed to reset and zero all those cumulative deltas  <br>effective immediately.<br><br>Jaime<br><br>Quoting "Emmanuel Barajas Gonzalez" <vanfalen@mx1.ibm.com>:<br><br>> Hello spectrum scale team!   I'm working on the implementation of<br>> quotas per fileset and I followed the basic instructions described in<br>> the documentation. Currently the gpfs device has per-fileset quotas<br>> and there is one fileset with a block soft and a hard limit set.  My<br>> problem is that I'm being able to write more and more files beyond<br>> the quota (the grace period has expired as well).   How can I make<br>> sure quotas will be enforced and that no user will be able to consume<br>> more space than specified?   mmrepquota smfslv0<br>>                          Block Limits<br>>    |<br>> Name       fileset    type             KB      quota      limit<br>> in_doubt    grace |<br>> root       root       USR             512          0          0<br>>    0     none |<br>> root       cp1        USR           64128          0          0<br>>    0     none |<br>> system     root       GRP             512          0          0<br>>    0     none |<br>> system     cp1        GRP           64128          0          0<br>>    0     none |<br>> valid      root       GRP               0          0          0<br>>    0     none |<br>> root       root       FILESET         512          0          0<br>>    0     none |<br>> cp1        root       FILESET       64128       2048       2048<br>>    0  expired |<br>> Thanks in advance !   Best regards,<br>> __________________________________________________________________________________<br>> Emmanuel Barajas Gonzalez TRANSPARENT CLOUD TIERING FOR DS8000<br>><br>>                                                                  Phone:<br>> 52-33-3669-7000 x5547 E-mail: vanfalen@mx1.ibm.com[1] Follow me:<br>> @van_falen<br>>                                       2200 Camino A El Castillo<br>>                         El Salto, JAL 45680<br>>                         Mexico<br>><br>><br>><br>><br>> Links:<br>> ------<br>> [1] </font></tt><tt><font size="2"><a href="mailto:vanfalen@mx1.ibm.com">mailto:vanfalen@mx1.ibm.com</a></font></tt><tt><font size="2"><br>><br><br><br><br><br><br><br>          ************************************<br>           TELL US ABOUT YOUR SUCCESS STORIES<br>          </font></tt><tt><font size="2"><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.scinethpc.ca_testimonials&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=IbxtjdkPAM2Sbon4Lbbi4w&m=2KW8at7r2duccqfXKnq1b4-HmXZvC48q9hZ-RpiIFZ0&s=mno73q7nVmqF-YTzo7pAF50B_45epo6ZzccTAwcroRU&e=">https://urldefense.proofpoint.com/v2/url?u=http-3A__www.scinethpc.ca_testimonials&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=IbxtjdkPAM2Sbon4Lbbi4w&m=2KW8at7r2duccqfXKnq1b4-HmXZvC48q9hZ-RpiIFZ0&s=mno73q7nVmqF-YTzo7pAF50B_45epo6ZzccTAwcroRU&e=</a></font></tt><tt><font size="2"><br>          ************************************<br>---<br>Jaime Pinto<br>SciNet HPC Consortium - Compute/Calcul Canada<br></font></tt><tt><font size="2">www.scinet.utoronto.ca</font></tt><tt><font size="2"> - </font></tt><tt><font size="2">www.computecanada.ca</font></tt><tt><font size="2"><br>University of Toronto<br>661 University Ave. (MaRS), Suite 1140<br>Toronto, ON, M5G1M1<br>P: 416-978-2755<br>C: 416-505-1477<br><br>----------------------------------------------------------------<br>This message was sent using IMP at SciNet Consortium, University of Toronto.<br><br>_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br></font></tt><tt><font size="2"><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=IbxtjdkPAM2Sbon4Lbbi4w&m=2KW8at7r2duccqfXKnq1b4-HmXZvC48q9hZ-RpiIFZ0&s=F6chd4olb-U3RlL5pcqBPagIccRSJd963K0FFS7auko&e=">https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=IbxtjdkPAM2Sbon4Lbbi4w&m=2KW8at7r2duccqfXKnq1b4-HmXZvC48q9hZ-RpiIFZ0&s=F6chd4olb-U3RlL5pcqBPagIccRSJd963K0FFS7auko&e=</a></font></tt><tt><font size="2"><br><br></font></tt><br><br><BR>
</body></html>