<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: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:Arial;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Courier New";
        panose-1:2 7 3 9 2 2 5 2 4 4;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 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;}
@font-face
        {font-family:Cambria;
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Palatino;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:BookMaster-Bold;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:BookMaster-Italic;
        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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle19
        {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">Thanks all.  I realized that my file creation command was building 200k size files instead of the 200MB files.  I fixed that and now I see the mmapplypolicy command take a bit more time
 and show accurate data as well as my bytes are now on the proper NSDs.  It’s always some little thing that the human messes up isn’t it? 
</span><span style="font-size:11.0pt;font-family:Wingdings">J</span><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>
<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 Marc A Kaplan <makaplan@us.ibm.com><br>
<b>Reply-To: </b>gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br>
<b>Date: </b>Thursday, July 7, 2016 at 9:20 AM<br>
<b>To: </b>gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br>
<b>Subject: </b>Re: [gpfsug-discuss] Migration policy confusion<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif","serif"">At the very least, LOOK at the messages output by the mmapplypolicy command at the beginning and end.</span><br>
<span style="font-size:10.0pt;font-family:"sans-serif","serif"">The "occupancy" stats for each pool are shown BEFORE and AFTER  the command does its work.</span><br>
<br>
<span style="font-size:10.0pt;font-family:"sans-serif","serif"">In even more detail, it shows you how many files and how many KB of data were (or will be or would be) migrated.</span><br>
<br>
<span style="font-size:10.0pt;font-family:"sans-serif","serif"">Also, options matter.  ReadTheFineManuals.  -I test vs -I defer vs -I yes.</span><br>
<br>
<span style="font-size:10.0pt;font-family:"sans-serif","serif"">To see exactly which files are being migrated, use -L 2</span><br>
<span style="font-size:10.0pt;font-family:"sans-serif","serif"">To see exactly which files are being selected by your rule(s), use -L 3</span><br>
<span style="font-size:10.0pt;font-family:"sans-serif","serif"">And for more details about the files being skipped over, etc, etc,   -L 6<br>
</span><br>
<span style="font-size:10.0pt;font-family:"sans-serif","serif"">Gee, I just checked the doc myself, I forgot some of the details and it's pretty good.</span><br>
<span style="font-size:10.0pt;font-family:"sans-serif","serif"">Admittedly mmapplypolicy is a complex command.  You can do somethings simply, only knowing</span><br>
<span style="font-size:10.0pt;font-family:"sans-serif","serif"">a few options and policy rules, BUT...</span><br>
<br>
<span style="font-size:10.0pt;font-family:"sans-serif","serif"">As my father used to say, "When all else fails, read the directions!"</span><br>
<br>
<b><span style="font-size:10.0pt;font-family:"BookMaster-Bold","serif"">-L </span>
</b><i><span style="font-size:10.0pt;font-family:"BookMaster-Italic","serif"">n</span></i><br>
<span style="font-size:10.0pt;font-family:Palatino">Controls the level of information displayed by the
<b>mmapplypolicy </b>command. Larger values indicate</span><br>
<span style="font-size:10.0pt;font-family:Palatino">the display of more detailed information. These terms are used:</span><br>
<b><span style="font-size:10.0pt;font-family:Palatino">candidate file</span></b><br>
<span style="font-size:10.0pt;font-family:Palatino">A file that matches a <b>MIGRATE</b>,
<b>DELETE</b>, or <b>LIST </b>policy rule.</span><br>
<b><span style="font-size:10.0pt;font-family:Palatino">chosen file</span></b><br>
<span style="font-size:10.0pt;font-family:Palatino">A candidate file that has been scheduled for action.</span><br>
<br>
<span style="font-size:10.0pt;font-family:Palatino">These are the valid values for
<i>n</i>:</span><br>
<b><span style="font-size:10.0pt;font-family:"BookMaster-Bold","serif"">0 </span>
</b><span style="font-size:10.0pt;font-family:Palatino">Displays only serious errors.</span><br>
<b><span style="font-size:10.0pt;font-family:"BookMaster-Bold","serif"">1 </span>
</b><span style="font-size:10.0pt;font-family:Palatino">Displays some information as the command runs, but not for each file. This is the default.</span><br>
<b><span style="font-size:10.0pt;font-family:"BookMaster-Bold","serif"">2 </span>
</b><span style="font-size:10.0pt;font-family:Palatino">Displays each chosen file and the scheduled migration or deletion action.</span><br>
<b><span style="font-size:10.0pt;font-family:"BookMaster-Bold","serif"">3 </span>
</b><span style="font-size:10.0pt;font-family:Palatino">Displays the same information as 2, plus each candidate file and the applicable rule.</span><br>
<b><span style="font-size:10.0pt;font-family:"BookMaster-Bold","serif"">4 </span>
</b><span style="font-size:10.0pt;font-family:Palatino">Displays the same information as 3, plus each explicitly
<b>EXCLUDE</b>ed or <b>LIST</b>ed file, and the</span><br>
<span style="font-size:10.0pt;font-family:Palatino">applicable rule.</span><br>
<b><span style="font-size:10.0pt;font-family:"BookMaster-Bold","serif"">5 </span>
</b><span style="font-size:10.0pt;font-family:Palatino">Displays the same information as 4, plus the attributes of candidate and
<b>EXCLUDE</b>ed or <b>LIST</b>ed</span><br>
<span style="font-size:10.0pt;font-family:Palatino">files.</span><br>
<b><span style="font-size:10.0pt;font-family:"BookMaster-Bold","serif"">6 </span>
</b><span style="font-size:10.0pt;font-family:Palatino">Displays the same information as 5, plus non-candidate files and their attributes.</span><br>
<br>
<span style="font-size:10.0pt;font-family:Palatino">For examples and more information on this flag, see the section:
<i>The mmapplypolicy -L command </i>in the</span><br>
<i><span style="font-size:10.0pt;font-family:Palatino">IBM Spectrum Scale: Problem Determination Guide</span></i><span style="font-size:10.0pt;font-family:Palatino">.</span><br>
<br>
<span style="font-size:10.0pt;font-family:"sans-serif","serif"">--marc</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"">"Mark.Bush@siriuscom.com" <Mark.Bush@siriuscom.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"">07/07/2016 09:17 AM</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"">Re: [gpfsug-discuss] Migration policy confusion</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:#AAAAAA" align="center">
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<br>
<span style="font-size:10.0pt;font-family:Calibri">Thanks Daniel.  I did wait for 15-20 minutes after.</span><br>
<span style="font-size:10.0pt;font-family:Calibri"> </span><br>
<b><span style="font-family:Calibri">From: </span></b><span style="font-family:Calibri"><gpfsug-discuss-bounces@spectrumscale.org> on behalf of Daniel Kidger <daniel.kidger@uk.ibm.com><b><br>
Reply-To: </b>gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><b><br>
Date: </b>Thursday, July 7, 2016 at 8:10 AM<b><br>
To: </b>"gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org><b><br>
Cc: </b>"gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org><b><br>
Subject: </b>Re: [gpfsug-discuss] Migration policy confusion</span><br>
 <br>
<span style="font-size:10.0pt;font-family:Arial">Mark,</span><br>
<span style="font-size:10.0pt;font-family:Arial">For performance reasons, mmdf gets its data updated asynchronously.</span><br>
<span style="font-size:10.0pt;font-family:Arial">Did you try waiting a few minutes?</span><br>
<span style="font-family:Verdana">Daniel</span><br>
<b><span style="font-size:7.5pt;font-family:Helvetica">Error! Filename not specified.</span></b><o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="424" style="width:318.0pt;border-collapse:collapse">
<tbody>
<tr style="height:6.0pt">
<td width="201" style="width:150.75pt;padding:0in 0in 0in 0in;height:6.0pt">
<p class="MsoNormal"><b>Error! Filename not specified.</b><br>
 <o:p></o:p></p>
</td>
<td width="21" style="width:15.75pt;padding:0in 0in 0in 0in;height:6.0pt">
<p class="MsoNormal"> <o:p></o:p></p>
</td>
<td width="202" style="width:151.5pt;padding:0in 0in 0in 0in;height:6.0pt">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:Arial">Dr Daniel Kidger</span></b><span style="font-size:7.5pt;font-family:Arial"><br>
IBM Technical Sales Specialist<br>
Software Defined Solution Sales<br>
<br>
+</span><span style="font-size:10.0pt;font-family:Verdana;color:#5F5F5F">44-07818 522 266
</span><span style="font-size:7.5pt;font-family:Arial;color:#5F5F5F"><br>
daniel.kidger@uk.ibm.com</span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p style="margin-bottom:12.0pt"><br>
<span style="font-size:7.5pt;font-family:Helvetica"> </span><br>
<span style="font-size:7.5pt;font-family:Helvetica">  </span><br>
<span style="font-size:10.0pt;font-family:Verdana"><br>
</span><br>
<span style="font-size:10.0pt;font-family:Arial"> </span><br>
<span style="font-size:10.0pt;font-family:Arial"> </span><br>
<span style="font-size:10.0pt;font-family:Arial">----- Original message -----<br>
From: "Mark.Bush@siriuscom.com" <Mark.Bush@siriuscom.com><br>
Sent by: gpfsug-discuss-bounces@spectrumscale.org<br>
To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br>
Cc:<br>
Subject: [gpfsug-discuss] Migration policy confusion<br>
Date: Thu, Jul 7, 2016 2:00 PM</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Arial">Hello all, I’m struggling trying to understand tiering and policies in general in SpecScale.  I have a single filesystem with two pools defined (system, GOLD).  The GOLD pool is made up of some faster disks
 than the system pool.  The policy I’m trying to get working is as follows</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Arial"> </span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Arial">RULE 'go_gold'</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Arial">    MIGRATE</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Arial">        FROM POOL 'system'</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Arial">    TO POOL 'GOLD'</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Arial">        WHERE (LOWER(NAME) LIKE '%.perf')</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Arial"> </span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Arial">I’m simply trying to get the data to move the NDS’s in GOLD pool.</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Arial"> </span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Arial">When I do an mmapplypolicy, mmlsattr shows that it’s now in the GOLD pool but when I do a mmdf the data shows 100% free still.  I tried a mmrestripefs as well and no change to the mmdf output.  Am I missing
 something here?  Is this just normal behavior and the blocks will get moved at some other time?  I guess I was expecting instant gratification and that those files would have been moved to the correct NSD.</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Arial"> </span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Arial"> </span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Arial"> </span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Arial"> </span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Arial"> </span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Arial"> </span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Arial;color:#002F80">Mark R. Bush</span><span style="font-size:10.0pt;font-family:Arial">| Solutions Architect<br>
Mobile: 210.237.8415 | mark.bush@siriuscom.com<br>
Sirius Computer Solutions | </span><a href="http://www.siriuscom.com/" target="_blank"><span style="font-size:10.0pt;font-family:Arial">www.siriuscom.com</span></a><span style="font-size:10.0pt;font-family:Arial"><br>
10100 Reunion Place, Suite 500, San Antonio, TX 78216 </span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Arial"> </span><o:p></o:p></p>
<p style="margin-bottom:12.0pt"><span style="font-size:7.5pt;font-family:Cambria">This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary,
 privileged, confidential, and exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. This message may be
 viewed by parties at Sirius Computer Solutions other than those named in the message header. This message does not contain an official representation of Sirius Computer Solutions. If you have received this communication in error, notify Sirius Computer Solutions
 immediately and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you.</span><br>
<a href="http://www.siriuscom.com/" target="_blank"><b><span style="font-size:10.0pt;font-family:Calibri">Sirius Computer Solutions</span></b></a><span style="font-size:10.0pt;font-family:Arial">
</span><br>
<span style="font-size:10.0pt;font-family:Arial"> </span><br>
<span style="font-size:10.0pt;font-family:"Courier New"">_______________________________________________<br>
gpfsug-discuss mailing list<br>
gpfsug-discuss at spectrumscale.org<u><span style="color:blue"><br>
</span></u></span><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" target="_blank"><span style="font-size:10.0pt;font-family:"Courier New"">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</span></a><br>
<span style="font-size:10.0pt;font-family:Arial"> </span><br>
Unless stated otherwise above:<br>
IBM United Kingdom Limited - Registered in England and Wales with number 741598. <br>
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU<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="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><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>
<br>
</span><o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>