Just a heads up on something to look out for: if I recall correctly you can set the distribution and its parameters on a directory (and it will then apply to newly created files in that directory), but the same might not be true of layouts. You might have to specify the layouts explicitly at create time rather than inheriting them from directory hints.

-Phil

On 06/03/2015 11:56 AM, Dorier, Matthieu wrote:
It does help, thanks!
Matthieu

________________________________________
From: Elaine Quarles [[email protected]]
Sent: Wednesday, June 03, 2015 10:36 AM
To: Dorier, Matthieu
Cc: [email protected]
Subject: Re: [Pvfs2-users] Changing distribution/layout using PVFS API

Matthieu,

You can look in the source tree at src/apps/admin/pvfs2-xattr.c for an
example of using the PVFS_sys_seteattr function call to set
attributes.

Hope that helps!
Elaine

On Wed, Jun 3, 2015 at 10:56 AM, Dorier, Matthieu <[email protected]> wrote:
Hi,

I'm reading this page:
http://www.orangefs.org/trac/orangefs/wiki/Distributions
Could you give me an example of how to change the layout of an existing
directory using PVFS_SYS_LAYOUT_LIST and the PVFS API (instead of setfattr)?
Thanks,

Matthieu

________________________________
Matthieu Dorier, PhD
Postdoctoral Appointee
Argonne National Laboratory, MCS
9700 S Cass Ave, Lemont, IL 60439
+1 630 252 1515

_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to