<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi All,
<div class=""><br class="">
</div>
<div class="">First off, I can open a PMR for this if I need to. &nbsp;Second, I am far from an mmapplypolicy guru. &nbsp;With that out of the way \u2026 I have an mmapplypolicy job that didn\u2019t migrate anywhere close to what it could / should have. &nbsp;From the log file I have
 it create, here is the part where it shows the policies I told it to invoke:</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">[I] Qos 'maintenance' configured as inf</div>
<div class="">[I] GPFS Current Data Pool Utilization in KB and %</div>
<div class="">Pool_Name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; KB_Occupied &nbsp; &nbsp; &nbsp; &nbsp;KB_Total &nbsp;Percent_Occupied</div>
<div class="">gpfs23capacity &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;55365193728 &nbsp; &nbsp;124983549952 &nbsp; &nbsp; 44.297984614%</div>
<div class="">gpfs23data &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 166747037696 &nbsp; &nbsp;343753326592 &nbsp; &nbsp; 48.507759721%</div>
<div class="">system &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp;0.000000000% (no user data)</div>
<div class="">[I] 75142046 of 209715200 inodes used: 35.830520%.</div>
<div class="">[I] Loaded policy rules from /root/gpfs/gpfs23_migration.policy.</div>
<div class="">Evaluating policy rules with CURRENT_TIMESTAMP = 2017-04-15@01:13:02 UTC</div>
<div class="">Parsed 2 policy rules.</div>
<div class=""><br class="">
</div>
<div class="">RULE 'OldStuff'</div>
<div class="">&nbsp; MIGRATE FROM POOL 'gpfs23data'</div>
<div class="">&nbsp; TO POOL 'gpfs23capacity'</div>
<div class="">&nbsp; LIMIT(98)</div>
<div class="">&nbsp; WHERE (((DAYS(CURRENT_TIMESTAMP) - DAYS(ACCESS_TIME)) &gt; 14) AND (KB_ALLOCATED &gt; 3584))</div>
<div class=""><br class="">
</div>
<div class="">RULE 'INeedThatAfterAll'</div>
<div class="">&nbsp; MIGRATE FROM POOL 'gpfs23capacity'</div>
<div class="">&nbsp; TO POOL 'gpfs23data'</div>
<div class="">&nbsp; LIMIT(75)</div>
<div class="">&nbsp; WHERE ((DAYS(CURRENT_TIMESTAMP) - DAYS(ACCESS_TIME)) &lt; 14)</div>
</div>
<div class=""><br class="">
</div>
<div class="">And then the log shows it scanning all the directories and then says, &quot;OK, here\u2019s what I\u2019m going to do&quot;:</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">[I] Summary of Rule Applicability and File Choices:</div>
<div class="">&nbsp;Rule# &nbsp; &nbsp; &nbsp;Hit_Cnt &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;KB_Hit &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Chosen &nbsp; &nbsp; &nbsp; KB_Chosen &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;KB_Ill &nbsp; &nbsp; Rule</div>
<div class="">&nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;5255960 &nbsp; &nbsp; 237675081344 &nbsp; &nbsp; &nbsp; &nbsp;1868858 &nbsp; &nbsp; 67355430720 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; RULE 'OldStuff' MIGRATE FROM POOL 'gpfs23data' TO POOL 'gpfs23capacity' LIMIT(98.000000) WHERE(.)</div>
<div class="">&nbsp; &nbsp; &nbsp;1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;611 &nbsp; &nbsp; &nbsp; 236745504 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 611 &nbsp; &nbsp; &nbsp; 236745504 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; RULE 'INeedThatAfterAll' MIGRATE FROM POOL 'gpfs23capacity' TO POOL 'gpfs23data' LIMIT(75.000000) WHERE(.)</div>
<div class=""><br class="">
</div>
<div class="">[I] Filesystem objects with no applicable rules: 414911602.</div>
<div class=""><br class="">
</div>
<div class="">[I] GPFS Policy Decisions and File Choice Totals:</div>
<div class="">&nbsp;Chose to migrate 67592176224KB: 1869469 of 5256571 candidates;</div>
<div class="">Predicted Data Pool Utilization in KB and %:</div>
<div class="">Pool_Name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; KB_Occupied &nbsp; &nbsp; &nbsp; &nbsp;KB_Total &nbsp;Percent_Occupied</div>
<div class="">gpfs23capacity &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 122483878944 &nbsp; &nbsp;124983549952 &nbsp; &nbsp; 97.999999993%</div>
<div class="">gpfs23data &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 104742360032 &nbsp; &nbsp;343753326592 &nbsp; &nbsp; 30.470209865%</div>
<div class="">system &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp;0.000000000% (no user data)</div>
</div>
<div class=""><br class="">
</div>
<div class="">Notice that it says it\u2019s only going to migrate less than 2 million of the 5.25 million candidate files!! &nbsp;And sure enough, that\u2019s all it did:</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">[I] A total of 1869469 files have been migrated, deleted or processed by an EXTERNAL EXEC/script;</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; 0 'skipped' files and/or errors.</div>
</div>
<div class=""><br class="">
</div>
<div class="">And, not surprisingly, the gpfs23capacity pool on gpfs23 is nowhere near 98% full:</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">Disks in storage pool: gpfs23capacity (Maximum disk size allowed is 519 TB)</div>
<div class="">eon35Ansd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 58.2T &nbsp; &nbsp; &nbsp; 35 No &nbsp; &nbsp; &nbsp; Yes &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;29.54T ( 51%) &nbsp; &nbsp; &nbsp; &nbsp;63.93G ( 0%)&nbsp;</div>
<div class="">eon35Dnsd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 58.2T &nbsp; &nbsp; &nbsp; 35 No &nbsp; &nbsp; &nbsp; Yes &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;29.54T ( 51%) &nbsp; &nbsp; &nbsp; &nbsp;64.39G ( 0%)&nbsp;</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ------------- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -------------------- -------------------</div>
<div class="">(pool total) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 116.4T &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;59.08T ( 51%) &nbsp; &nbsp; &nbsp; &nbsp;128.3G ( 0%)</div>
</div>
<div class=""><br class="">
</div>
<div class="">I don\u2019t understand why it only migrated a small subset of what it could / should have?</div>
<div class=""><br class="">
</div>
<div class="">We are doing a migration from one filesystem (gpfs21) to gpfs23 and I really need to stuff my gpfs23capacity pool as full of data as I can to keep the migration going. &nbsp;Any ideas anyone? &nbsp;Thanks in advance\u2026</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<div class="">\u2014</div>
<div class="">Kevin Buterbaugh - Senior System Administrator</div>
<div class="">Vanderbilt University - Advanced Computing Center for Research and Education</div>
<div class=""><a href="mailto:Kevin.Buterbaugh@vanderbilt.edu" class="">Kevin.Buterbaugh@vanderbilt.edu</a>&nbsp;- (615)875-9633</div>
<div class=""><br class="">
</div>
<br class="Apple-interchange-newline">
</div>
<br class="">
</div>
</body>
</html>