Hi Kevin, I'm running policy migrations on Spectrum Scale 4.2.3, but I use mmapplypolicy to kick off the policy runs, not mmstartpolicy. Docs here (which I admit are not for your version of Spectrum Scale) state that mmstartpolicy is for internal GPFS use only: https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Gener... So if the above link is correct, I'd recommend switching to using mmapplypolicy, which handily comes with a man page, whereas mmstartpolicy doesn't and might have you fumbling around in the dark. As for the issue you're experiencing with adding a callback, it looks like the mmaddcallback command is catching the --single-instance flag as an argument for it, not as a parameter for the mmstartpolicy command. After looking at the documentation you've referenced, I suspect that there's a typo/omission in the command and it should have a trailing double quote (") on the end of the parms argument list, i.e.: mmaddcallback MIGRATION --command /usr/lpp/mmfs/bin/mmstartpolicy --event lowDiskSpace --parms "%eventName %fsName --single-instance" I'm not sure how we go about asking IBM to correct their documentation, but expect someone in the user group will have some idea. Regards, Pete Chase peter.chase@metoffice.gov.uk -----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of gpfsug-discuss-request@spectrumscale.org Sent: 06 August 2018 23:47 To: gpfsug-discuss@spectrumscale.org Subject: gpfsug-discuss Digest, Vol 79, Issue 21 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. mmaddcallback documentation issue (Buterbaugh, Kevin L) 2. Re: mmaddcallback documentation issue (Eric Sperley) ---------------------------------------------------------------------- Message: 1 Date: Mon, 6 Aug 2018 21:42:54 +0000 From: "Buterbaugh, Kevin L" <Kevin.Buterbaugh@Vanderbilt.Edu> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: [gpfsug-discuss] mmaddcallback documentation issue Message-ID: <735F4275-191A-4363-B98C-1EA289292037@vanderbilt.edu> Content-Type: text/plain; charset="utf-8" Hi All, So I?m _still_ reading about and testing various policies for file placement and migration on our test cluster (which is now running GPFS 5). On page 392 of the GPFS 5.0.0 Administration Guide it says: To add a callback, run this command. The following command is on one line: mmaddcallback MIGRATION --command /usr/lpp/mmfs/bin/mmstartpolicy --event lowDiskSpace --parms "%eventName %fsName --single-instance The --single-instance flag is required to avoid running multiple migrations on the file system at the same time. However, trying to issue that command gives: mmaddcallback: Incorrect option: --single-instance And the man page for mmaddcallback doesn?t mention it or anything similar to it. Now my test cluster is running GPFS 5.0.1.1, so is this something that was added in GPFS 5.0.0 and then subsequently removed? I can?t find the GPFS 5.0.1 Administration Guide with a Google search. Thanks? Kevin ? Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu<mailto:Kevin.Buterbaugh@vanderbilt.edu> - (615)875-9633
