If that has not changed, then: PATH_NAME is not usable for placement policies. Only the FILESET_NAME attribute is accepted.
One might think, that PATH_NAME is as known on creating a new file as is FILESET_NAME, but for some reason the documentation says: "When file attributes are referenced in initial placement rules, only the following attributes are valid: FILESET_NAME, GROUP_ID, NAME, and USER_ID. " Mit freundlichen Grüßen / Kind regards Dr. Uwe Falke IT Specialist High Performance Computing Services / Integrated Technology Services / Data Center Services ------------------------------------------------------------------------------------------------------------------------------------------- IBM Deutschland Rathausstr. 7 09111 Chemnitz Phone: +49 371 6978 2165 Mobile: +49 175 575 2877 E-Mail: [email protected] ------------------------------------------------------------------------------------------------------------------------------------------- IBM Deutschland Business & Technology Services GmbH / Geschäftsführung: Thomas Wolter, Sven Schooß Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 17122 From: Michal Zacek <[email protected]> To: [email protected] Date: 12/07/2018 10:49 Subject: Re: [gpfsug-discuss] File placement rule for new files in directory Sent by: [email protected] That's perfect, thank you both. Best regards Michal Dne 12.7.2018 v 10:39 Smita J Raut napsal(a): If ABCD is not a fileset then below rule can be used- RULE 'ABCD-rule-01' SET POOL 'fastdata' WHERE PATH_NAME LIKE '/gpfs/gpfs01/ABCD/%' Thanks, Smita From: Simon Thompson <[email protected]> To: gpfsug main discussion list <[email protected]> Date: 07/12/2018 01:34 PM Subject: Re: [gpfsug-discuss] File placement rule for new files in directory Sent by: [email protected] Is ABCD a fileset? If so, its easy with something like: RULE 'ABCD-rule-01' SET POOL 'fastdata' FOR FILESET ('ABCD-fileset-name') Simon On 12/07/2018, 07:56, "[email protected] on behalf of [email protected]" <[email protected] on behalf of [email protected]> wrote: Hello, it is possible to create file placement policy for new files in one directory? I need something like this --> All new files created in directory "/gpfs/gpfs01/ABCD" will be stored in pool "fastdata". Thanks. Best regards, Michal _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss [attachment "smime.p7s" deleted by Uwe Falke/Germany/IBM] _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
