Allow me to elaborate on my question. The example I gave was trimmed-down to the minimum. I've been trying various combinations with different LIMIT values and different weight and where clauses, using '-I test' and '-I prepare' to see what it would do, but not actually doing the migration. The 'ssd' pool is about 36% utilized and I've been starting the mmapplypolicy scan at a sub-directory level where nearly all the files were in the disk pool. (You'll just have to trust me that the ssd pool can hold all of them :-)) If I specify 'ssd' as the "to pool", the output from the test or prepare options indicates that it would be able to migrate all of the candidate files to the ssd pool. But, if I specify the group pool as the "to pool", it is only willing to migrate the first candidate. That is with the ssd pool listed first in the group and with any limit as long as it's big enough to hold the current data plus the files I expected it to select, even the default of 99. I'm sure I'm either doing something wrong, or I *really* misunderstand the concept. It seems straight forward enough.... Thanks to everyone for your time! Richard -----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of gpfsug-discuss-request@spectrumscale.org Sent: Wednesday, August 22, 2018 4:00 AM To: gpfsug-discuss@spectrumscale.org Subject: gpfsug-discuss Digest, Vol 79, Issue 47 Send gpfsug-discuss mailing list submissions to gpfsug-discuss@spectrumscale.org To subscribe or unsubscribe via the World Wide Web, visit http://gpfsug.org/mailman/listinfo/gpfsug-discuss or, via email, send a message with subject or body 'help' to gpfsug-discuss-request@spectrumscale.org You can reach the person managing the list at gpfsug-discuss-owner@spectrumscale.org When replying, please edit your Subject line so it is more specific than "Re: Contents of gpfsug-discuss digest..." Today's Topics: 1. Problem using group pool for migration (Powell (US), Richard E) 2. Re: Problem using group pool for migration (Marc A Kaplan) 3. Re: Problem using group pool for migration (Marc A Kaplan) ---------------------------------------------------------------------- Message: 1 Date: Tue, 21 Aug 2018 18:23:50 +0000 From: "Powell (US), Richard E" <Richard.E.Powell@boeing.com> To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Subject: [gpfsug-discuss] Problem using group pool for migration Message-ID: <7a0a914601594ccdb6c96504322de9c8@XCH15-09-11.nw.nos.boeing.com> Content-Type: text/plain; charset="us-ascii" Hi all, I'm trying to use the "GROUP POOL" feature for file migration with FILE_HEAT, similar to one of the ilm sample scripts. The problem I'm having is that it seems to be identifying the candidates correctly but, anytime I use the "group pool" name for the "to pool", it only selects the first candidate for migration. If I specify a single pool name for the "to pool", it selects multiple files as expected. Here are the policy rules I'm using: RULE 'gp' GROUP POOL 'gpool' is 'ssd' then 'disk1' RULE 'repack' MIGRATE FROM POOL 'gpool' TO POOL 'gpool' WEIGHT(FILE_HEAT) I'm not sure if I'm misunderstanding something or if this is a real bug. I'm just wondering if anyone else has run into this issue? I'm running 4.2.3.8 on RHEL 6. Thanks! Richard
