Hi,

Yes you can do this via parameters to PVFS_sys_create().

It would be easiest for you to look at how this is done in ROMIO, in this file:
  src/mpi/romio/adio/ad_pvfs2/ad_pvfs2_open.c

Rob

On Oct 16, 2009, at 9:59 PM, Kshitij Mehta wrote:

Thank you. I know about these options to change the stripe size (in the config file or using setfattr). But that still doesn't solve my problem as I need to change the stripe size programmatically.

Thanks,
Kshitij


On Oct 16, 2009, at 5:12 PM, Kyle Schochenmaier wrote:

Kshitij -

You can modify the stripe size of pvfs2 at run-time :  (best to do it
here or in the config)
http://www.pvfs.org/cvs/pvfs-2-8-branch.build/doc/pvfs2-faq/pvfs2-faq.php
(Chapter 6.6)
Please note that modifications during run-time will only be propagated
to *NEW* files.

Additionally you can set the distribution params in the config file.
http://www.pvfs.org/cvs/pvfs-2-8-branch-docs/doc//pvfs-config-options.php


Cheers,

Kyle Schochenmaier



On Fri, Oct 16, 2009 at 5:02 PM, Kshitij Mehta <[email protected]> wrote:
Hello,

Is there a way to change the stripe size for pvfs2 programmatically? I remember seeing a C function, but am unable to locate it. My apologies if
this has been asked before.

Thanks,
Kshitij Mehta
Graduate Student
University of Houston
www.cs.uh.edu/~kmehta

_______________________________________________
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