[gpfsug-discuss] Problem using group pool for migration
Marc A Kaplan
makaplan at us.ibm.com
Thu Aug 23 15:25:00 BST 2018
Richard Powell,
Good that you have it down to a smallish test case. Let's see it!
Here's my test case. Notice I use -L 2 and -I test to see what's what:
[root@/main/gpfs-git]$mmapplypolicy c41 -P /gh/c41gp.policy -L 2 -I test
[I] GPFS Current Data Pool Utilization in KB and %
Pool_Name KB_Occupied KB_Total Percent_Occupied
cool 66048 9436160 0.699945741%
system 1190656 8388608 14.193725586%
xtra 66048 8388608 0.787353516%
[I] 4045 of 65792 inodes used: 6.148164%.
[I] Loaded policy rules from /gh/c41gp.policy.
Evaluating policy rules with CURRENT_TIMESTAMP = 2018-08-23 at 14:11:26 UTC
Parsed 2 policy rules.
rule 'gp' group pool 'gp' is 'system' limit(3) then 'cool' limit(4) then
'xtra'
rule 'mig' migrate from pool 'gp' to pool 'gp' weight(rand())
[I] 2018-08-23 at 14:11:26.367 Directory entries scanned: 8.
[I] Directories scan: 7 files, 1 directories, 0 other objects, 0 'skipped'
files and/or errors.
[I] 2018-08-23 at 14:11:26.371 Sorting 8 file list records.
[I] 2018-08-23 at 14:11:26.416 Policy evaluation. 8 files scanned.
[I] 2018-08-23 at 14:11:26.421 Sorting 7 candidate file list records.
WEIGHT(0.911647) MIGRATE /c41/100e TO POOL gp/cool SHOW()
WEIGHT(0.840188) MIGRATE /c41/100a TO POOL gp/cool SHOW()
WEIGHT(0.798440) MIGRATE /c41/100d TO POOL gp/cool SHOW()
WEIGHT(0.783099) MIGRATE /c41/100c TO POOL gp/xtra SHOW()
WEIGHT(0.394383) MIGRATE /c41/100b TO POOL gp/xtra SHOW()
WEIGHT(0.335223) MIGRATE /c41/100g TO POOL gp/xtra SHOW()
WEIGHT(0.197551) MIGRATE /c41/100f TO POOL gp/xtra SHOW()
[I] 2018-08-23 at 14:11:26.430 Choosing candidate files. 7 records scanned.
[I] Summary of Rule Applicability and File Choices:
Rule# Hit_Cnt KB_Hit Chosen KB_Chosen
KB_Ill Rule
0 7 716800 7 716800 0
RULE 'mig' MIGRATE FROM POOL 'gp' WEIGHT(.) \
TO POOL 'gp'
[I] Filesystem objects with no applicable rules: 1.
[I] GPFS Policy Decisions and File Choice Totals:
Chose to migrate 716800KB: 7 of 7 candidates;
[I] File Migrations within Group Pools
Group Pool Files_Out KB_Out Files_In
KB_In
gp system 7 716800 0 0
gp cool 0 0 3 307200
gp xtra 0 0 4 409600
Predicted Data Pool Utilization in KB and %:
Pool_Name KB_Occupied KB_Total Percent_Occupied
cool 373248 9436160 3.955507325%
system 473856 8388608 5.648803711%
xtra 475648 8388608 5.670166016%
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20180823/9f875df5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 21994 bytes
Desc: not available
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20180823/9f875df5/attachment.gif>
More information about the gpfsug-discuss
mailing list