[gpfsug-discuss] File placement rule for new files in directory

Uwe Falke UWEFALKE at de.ibm.com
Thu Jul 12 14:16:23 BST 2018


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: uwefalke at de.ibm.com
-------------------------------------------------------------------------------------------------------------------------------------------
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 <zacekm at img.cas.cz>
To:     gpfsug-discuss at spectrumscale.org
Date:   12/07/2018 10:49
Subject:        Re: [gpfsug-discuss] File placement rule for new files in 
directory
Sent by:        gpfsug-discuss-bounces at spectrumscale.org



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 <S.J.Thompson at bham.ac.uk>
To:        gpfsug main discussion list <gpfsug-discuss at spectrumscale.org>
Date:        07/12/2018 01:34 PM
Subject:        Re: [gpfsug-discuss] File placement rule for new files in 
directory
Sent by:        gpfsug-discuss-bounces at spectrumscale.org



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, "gpfsug-discuss-bounces at spectrumscale.org on behalf 
of zacekm at img.cas.cz" <gpfsug-discuss-bounces at spectrumscale.org on behalf 
of zacekm at img.cas.cz> 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







More information about the gpfsug-discuss mailing list