waltligon / orangefs

Official repository for PVFS/OrangeFS
Other
62 stars 7 forks source link

Programmatically accessing the number of data servers and location of datafiles #74

Closed ecamiloinacio closed 5 years ago

ecamiloinacio commented 5 years ago

Dear,

Is it possible to get the number of available data servers in an OrangeFS file system at the application level? I found the "PVFS_mgmt_count_servers" function at the "pvfs2-mgmt.h" header, but it depends on the "pint-uid-mgmt.h" header which is not available at the OrangeFS include directory. Thus, my code did not compile.

Furthermore, I have not found a function in any header on the OrangeFS include directory for getting a server identification (e.g., server index, BMI address, etc.) for a given file in an OrangeFS file system. Is it possible?

Best,

Camilo

ecamiloinacio commented 5 years ago

Just to clarify the last part of my question, I am willing to identify servers holding datafiles from a given file.