<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mv="http://macVmlSchemaUri" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Courier New";
        panose-1:2 7 3 9 2 2 5 2 4 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:sans-serif;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Hi Eric<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Looks like your assumption is correct - no negative values from “mmfsadm eventsExporter mmpmon vfss”. I don’t normally view these via “mmfsadm”, I use the zimon stats. But, It’s a bug that
 should be fixed.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">What’s the best way to get this fixed?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">root@cnt-r01r07u15 ~]# mmfsadm eventsExporter mmpmon vfss<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">_response_ begin mmpmon vfss<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">_mmpmon::vfss_ _n_ 10.30.100.193 _nn_ cnt-r01r07u15 _rc_ 0 _t_ 1492647309 _tu_ 311964 _access_ 8472897 56529.874886 _close_ 1460223848 49854.938090 _create_ 2101927 155055.515041 _fclear_
 0 0.000000 _fsync_ 20 0.024288 _fsync_range_ 0 0.000000 _ftrunc_ 0 0.000000 _getattr_ 859626332 101183.720281 _link_ 2175473 625.343799 _lockctl_ 17326 5.229828 _lookup_ 200378610 1201985.264220 _map_lloff_ 220854519 8561.860515 _mkdir_ 817943 217390.170859
 _mknod_ 3 0.001422 _open_ 1460217712 134812.649162 _read_ 3883163461 3971457.463527 _write_ 186078410 137927.496812 _mmapRead_ 17108947 10665.929860 _mmapWrite_ 0 0.000000 _aioRead_ 0 0.000000 _aioWrite_ 0 0.000000 _readdir_ 142262897 6999.189450 _readlink_
 485337171 2111.634286 _readpage_ 3646233600 14346.331414 _remove_ 4241324 93277.463798 _rename_ 350679 19334.235924 _rmdir_ 342042 2736.048976 _setacl_ 0 0.000000 _setattr_ 3709289 16963.901179 _symlink_ 161336 8522.670079 _unmap_ 3929805828 1735.740690 _writepage_
 0 0.000000 _tsfattr_ 0 0.000000 _tsfsattr_ 0 0.000000 _flock_ 0 0.000000 _setxattr_ 119 0.001042 _getxattr_ 4077218348 628418.213008 _listxattr_ 0 0.000000 _removexattr_ 15 0.000042 _encode_fh_ 0 0.000000 _decode_fh_ 0 0.000000 _get_dentry_ 0 0.000000 _get_parent_
 0 0.000000 _mount_ 0 0.000000 _statfs_ 2625497 214.309671 _sync_ 0 0.000000 _vget_ 0 0.000000<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">_response_ end<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Bob Oesterlin<br>
Sr Principal Storage Engineer, Nuance<br>
507-269-0413<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From: </span>
</b><span style="font-family:Calibri;color:black"><gpfsug-discuss-bounces@spectrumscale.org> on behalf of IBM Spectrum Scale <scale@us.ibm.com><br>
<b>Reply-To: </b>gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br>
<b>Date: </b>Wednesday, April 19, 2017 at 7:10 PM<br>
<b>To: </b>gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br>
<b>Cc: </b>"gpfsug-discuss-bounces@spectrumscale.org" <gpfsug-discuss-bounces@spectrumscale.org><br>
<b>Subject: </b>[EXTERNAL] Re: [gpfsug-discuss] mmfsadm dump vfsstats - negative values<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif","serif"">Bob,</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"sans-serif","serif"">I also noticed this recently.  I think it may be a simple matter of a printf()-like statement in the code that handles "mmfsadm vfsstats" using an incorrect conversion specifier --- one that treats
 the counter as signed instead of unsigned and treats the counter as being smaller than it really is.</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"sans-serif","serif"">To help confirm that hypothesis, could you please run the following commands on the node, at the same time, so the output can be compared:</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"sans-serif","serif""># mmfsadm vfsstats</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"sans-serif","serif""># mmfsadm eventsExporter mmpmon vfss</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"sans-serif","serif"">I believe the code that handles "mmfsadm eventsExporter mmpmon vfss" uses the correct printf()-like conversion specifier.  So, it should so good numbers where "mmfsadm vfsstats" shows negative
 numbers.</span> <br>
<br>
<span style="font-size:10.0pt;font-family:"sans-serif","serif"">Regards, The Spectrum Scale (GPFS) team</span>
<br>
<span style="font-size:10.0pt;font-family:"sans-serif","serif"">Eric Agar<br>
<br>
------------------------------------------------------------------------------------------------------------------<br>
If you feel that your question can benefit other users of  Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at
</span><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ibm.com_developerworks_community_forums_html_forum-3Fid-3D11111111-2D0000-2D0000-2D0000-2D000000000479&d=DwMBAg&c=djjh8EKwHtOepW4Bjau0lKhLlu-DxM1dlgP0rrLsOzY&r=LPDewt1Z4o9eKc86MXmhqX-45Cz1yz1ylYELF9olLKU&m=E7LxwAh9JTywdNmlR4hPn1wTtOyXwRkz58hDagk2e5Q&s=sdharhyfKk6j_Fv-sAOyp2W99fx59zM0k-i3XnFFp5M&e="><span style="font-size:10.0pt;font-family:"sans-serif","serif"">https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000479</span></a><span style="font-size:10.0pt;font-family:"sans-serif","serif"">.
<br>
<br>
If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact  1-800-237-5511 in the United States or your local IBM Service Center in other countries.
<br>
<br>
The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team.</span>
<br>
<br>
<br>
<br>
<span style="font-size:7.5pt;font-family:"sans-serif","serif";color:#5F5F5F">From:        </span><span style="font-size:7.5pt;font-family:"sans-serif","serif"">"Oesterlin, Robert" <Robert.Oesterlin@nuance.com></span>
<br>
<span style="font-size:7.5pt;font-family:"sans-serif","serif";color:#5F5F5F">To:        </span><span style="font-size:7.5pt;font-family:"sans-serif","serif"">gpfsug main discussion list <gpfsug-discuss@spectrumscale.org></span>
<br>
<span style="font-size:7.5pt;font-family:"sans-serif","serif";color:#5F5F5F">Date:        </span><span style="font-size:7.5pt;font-family:"sans-serif","serif"">04/19/2017 07:16 PM</span>
<br>
<span style="font-size:7.5pt;font-family:"sans-serif","serif";color:#5F5F5F">Subject:        </span><span style="font-size:7.5pt;font-family:"sans-serif","serif"">[gpfsug-discuss] mmfsadm dump vfsstats - negative values</span>
<br>
<span style="font-size:7.5pt;font-family:"sans-serif","serif";color:#5F5F5F">Sent by:        </span><span style="font-size:7.5pt;font-family:"sans-serif","serif"">gpfsug-discuss-bounces@spectrumscale.org</span>
<o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" noshade="" style="color:#F0F0F0" align="center">
</div>
<p class="MsoNormal"><br>
<br>
<br>
<span style="font-size:10.0pt;font-family:Calibri">I assume the counter has wrapped on some of these - would a PMR fix this? (4.2.1)</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri"> </span> <br>
<span style="font-size:10.0pt;font-family:Calibri">[root@cnt-r01r07u15 ~]# mmfsadm vfsstats</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">vfs statistics currently enabled</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">started at: Fri Jan 27 16:22:02.702 2017</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">  duration: 7091405.800 sec</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri"> </span> <br>
<span style="font-size:10.0pt;font-family:Calibri">name                    calls  time per call     total time</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">-------------------- -------- -------------- --------------</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">access                8472691       0.006672   56529.863993</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">close                1460175509       0.000034   49854.695358</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">create                2101110       0.073797  155055.263775</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">fsync                      20       0.001214       0.024288</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">getattr              859449161       0.000118  101183.699413</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">link                  2175473       0.000287     625.343799</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">lockctl                 17326       0.000302       5.229828</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">lookup               200369809       0.005999 1201980.046683</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">map_lloff            220850355       0.000039    8561.791963</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">mkdir                  817894       0.265793  217390.095681</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">mknod                       3       0.000474       0.001422</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">open                 1460169409       0.000092  134811.724068</span>
<br>
<b><span style="font-size:10.0pt;font-family:Calibri">read                 -412143552       0.001023 3971403.879911</span></b>
<br>
<span style="font-size:10.0pt;font-family:Calibri">write                164739329       0.000829  136616.948900</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">mmapRead             17108252       0.000623   10665.877349</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">readdir              142261835       0.000049    6999.159121</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">readlink             485335656       0.000004    2111.627292</span>
<br>
<b><span style="font-size:10.0pt;font-family:Calibri">readpage             -648839570       0.000004   14346.195128</span></b>
<br>
<span style="font-size:10.0pt;font-family:Calibri">remove                4239806       0.022000   93277.124289</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">rename                 350671       0.055135   19334.226490</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">rmdir                  342019       0.008000    2736.037074</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">setattr               3709237       0.004573   16963.899331</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">symlink                160610       0.053061    8522.185175</span>
<br>
<b><span style="font-size:10.0pt;font-family:Calibri">unmap                -365476297       0.000000    1735.669373</span></b>
<br>
<span style="font-size:10.0pt;font-family:Calibri">setxattr                  119       0.000009       0.001042</span>
<br>
<b><span style="font-size:10.0pt;font-family:Calibri">getxattr             -218316996       0.000154  628416.355002</span></b>
<br>
<span style="font-size:10.0pt;font-family:Calibri">removexattr                15       0.000003       0.000042</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">statfs                2624067       0.000082     214.306646</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">fastOpen             1456944934       0.000000       0.000000</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">fastClose            1515612004       0.000000       0.000000</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">fastLookup           77981387       0.000000       0.000000</span>
<br>
<b><span style="font-size:10.0pt;font-family:Calibri">fastRead             -922882405       0.000000       0.000000</span></b>
<br>
<span style="font-size:10.0pt;font-family:Calibri">fastWrite            102606402       0.000000       0.000000</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">revalidate             899677       0.000000       0.000000</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri">aio write sync       21331080       0.000061    1309.773528</span>
<br>
<span style="font-size:10.0pt;font-family:Calibri"> </span> <br>
<span style="font-size:10.0pt;font-family:Calibri">Bob Oesterlin<br>
Sr Principal Storage Engineer, Nuance<br>
507-269-0413</span> <br>
  <br>
<span style="font-family:Calibri"> </span><tt><span style="font-size:10.0pt">_______________________________________________</span></tt><span style="font-size:10.0pt;font-family:"Courier New""><br>
<tt>gpfsug-discuss mailing list</tt><br>
<tt>gpfsug-discuss at spectrumscale.org</tt><br>
</span><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwMBAg&c=djjh8EKwHtOepW4Bjau0lKhLlu-DxM1dlgP0rrLsOzY&r=LPDewt1Z4o9eKc86MXmhqX-45Cz1yz1ylYELF9olLKU&m=E7LxwAh9JTywdNmlR4hPn1wTtOyXwRkz58hDagk2e5Q&s=-JBAQJMfdFh_IhAOF7sP7unAJAVqzMfyggCcczB4ctM&e="><tt><span style="font-size:10.0pt">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</span></tt></a><span style="font-size:10.0pt;font-family:"Courier New""><br>
</span><br>
<br>
<br>
<o:p></o:p></p>
</div>
</body>
</html>