<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
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;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.apple-tab-span
        {mso-style-name:apple-tab-span;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">My thoughts exactly.<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Richard<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org]
<b>On Behalf Of </b>Buterbaugh, Kevin L<br>
<b>Sent:</b> 12 September 2016 20:08<br>
<b>To:</b> gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br>
<b>Subject:</b> Re: [gpfsug-discuss] big difference between output of 'mmlsquota' and 'du'?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Alex, <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">While the numbers don’t match exactly, they’re close enough to prompt me to ask if data replication is possibly set to two?  Thanks…<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Kevin<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On Sep 12, 2016, at 2:03 PM, Alex Chekholko <<a href="mailto:chekh@stanford.edu">chekh@stanford.edu</a>> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hi,<br>
<br>
For a fileset with a quota on it, we have mmlsquota reporting 39TB utilization (out of 50TB quota), with 0 in_doubt.<br>
<br>
Running a 'du' on the same directory (where the fileset is junctioned) shows 21TB usage.<br>
<br>
I looked for sparse files (files that report different size via ls vs du).  I looked at 'du --apparent-size ...'<br>
<br>
<a href="https://en.wikipedia.org/wiki/Sparse_file">https://en.wikipedia.org/wiki/Sparse_file</a><br>
<br>
What else could it be?<br>
<br>
Is there some attribute I can scan for inside GPFS?<br>
Maybe where FILE_SIZE does not equal KB_ALLOCATED?<br>
<a href="https://www.ibm.com/support/knowledgecenter/STXKQY_4.2.0/com.ibm.spectrum.scale.v4r2.adv.doc/bl1adv_usngfileattrbts.htm">https://www.ibm.com/support/knowledgecenter/STXKQY_4.2.0/com.ibm.spectrum.scale.v4r2.adv.doc/bl1adv_usngfileattrbts.htm</a><br>
<br>
<br>
[root@scg-gs0 ~]# du -sm --apparent-size /srv/gsfs0/projects/gbsc/*<br>
3977<span class="apple-tab-span"> </span>/srv/gsfs0/projects/gbsc/Backups<br>
1<span class="apple-tab-span"> </span>/srv/gsfs0/projects/gbsc/benchmark<br>
13109<span class="apple-tab-span"> </span>/srv/gsfs0/projects/gbsc/Billing<br>
198719<span class="apple-tab-span"> </span>/srv/gsfs0/projects/gbsc/Clinical<br>
1<span class="apple-tab-span"> </span>/srv/gsfs0/projects/gbsc/Clinical_Vendors<br>
1206523<span class="apple-tab-span"> </span>/srv/gsfs0/projects/gbsc/Data<br>
1<span class="apple-tab-span"> </span>/srv/gsfs0/projects/gbsc/iPoP<br>
123165<span class="apple-tab-span"> </span>/srv/gsfs0/projects/gbsc/Macrogen<br>
58676<span class="apple-tab-span"> </span>/srv/gsfs0/projects/gbsc/Misc<br>
6625890<span class="apple-tab-span"> </span>/srv/gsfs0/projects/gbsc/mva<br>
1<span class="apple-tab-span"> </span>/srv/gsfs0/projects/gbsc/Proj<br>
17<span class="apple-tab-span"> </span>/srv/gsfs0/projects/gbsc/Projects<br>
3290502<span class="apple-tab-span"> </span>/srv/gsfs0/projects/gbsc/Resources<br>
1<span class="apple-tab-span"> </span>/srv/gsfs0/projects/gbsc/SeqCenter<br>
1<span class="apple-tab-span"> </span>/srv/gsfs0/projects/gbsc/share<br>
514041<span class="apple-tab-span"> </span>/srv/gsfs0/projects/gbsc/SNAP_Scoring<br>
1<span class="apple-tab-span"> </span>/srv/gsfs0/projects/gbsc/TCGA_Variants<br>
267873<span class="apple-tab-span"> </span>/srv/gsfs0/projects/gbsc/tools<br>
9597797<span class="apple-tab-span"> </span>/srv/gsfs0/projects/gbsc/workspace<br>
<br>
(adds up to about 21TB)<br>
<br>
[root@scg-gs0 ~]# mmlsquota -j projects.gbsc --block-size=G gsfs0<br>
                        Block Limits  |     File Limits<br>
Filesystem type             GB      quota      limit   in_doubt    grace |    files   quota    limit in_doubt    grace  Remarks<br>
gsfs0      FILESET       39889      51200      51200          0     none |  1663212       0        0        4     none<br>
<br>
<br>
[root@scg-gs0 ~]# mmlsfileset gsfs0 |grep gbsc<br>
projects.gbsc            Linked    /srv/gsfs0/projects/gbsc<br>
<br>
Regards,<br>
-- <br>
Alex Chekholko <a href="mailto:chekh@stanford.edu">chekh@stanford.edu</a><br>
<br>
_______________________________________________<br>
gpfsug-discuss mailing list<br>
gpfsug-discuss at spectrumscale.org<br>
<a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">—<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Kevin Buterbaugh - Senior System Administrator<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Vanderbilt University - Advanced Computing Center for Research and Education<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="mailto:Kevin.Buterbaugh@vanderbilt.edu">Kevin.Buterbaugh@vanderbilt.edu</a> - (615)875-9633<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>