Main Page | Modules | Data Structures | File List | Data Fields | Globals

PVFS2 management interface

The PVFS2 management interface provides functionality used to check file system status and to repair damaged file systems. More...

Files

file  mgmt-create-dirent.sm
file  mgmt-event-mon-list.sm
file  mgmt-get-dfile-array.sm
file  mgmt-get-dirdata-handle.sm
file  mgmt-iterate-handles-list.sm
file  mgmt-misc.c
file  mgmt-noop.sm
file  mgmt-perf-mon-list.sm
file  mgmt-remove-dirent.sm
file  mgmt-remove-object.sm
file  mgmt-setparam-list.sm
file  mgmt-statfs-list.sm
file  pvfs2-mgmt.h

Functions

PVFS_error PVFS_mgmt_count_servers (PVFS_fs_id fs_id, PVFS_credentials *credentials, int server_type, int *count)
PVFS_error PVFS_mgmt_get_server_array (PVFS_fs_id fs_id, PVFS_credentials *credentials, int server_type, PVFS_BMI_addr_t *addr_array, int *inout_count_p)
const char * PVFS_mgmt_map_addr (PVFS_fs_id fs_id, PVFS_credentials *credentials, PVFS_BMI_addr_t addr, int *server_type)
PVFS_error PVFS_mgmt_setparam_all (PVFS_fs_id fs_id, PVFS_credentials *credentials, enum PVFS_server_param param, struct PVFS_mgmt_setparam_value *value, PVFS_error_details *details, PVFS_hint hints)
PVFS_error PVFS_mgmt_setparam_single (PVFS_fs_id fs_id, PVFS_credentials *credentials, enum PVFS_server_param param, struct PVFS_mgmt_setparam_value *value, char *server_addr_str, PVFS_error_details *details, PVFS_hint hints)
PVFS_error PVFS_mgmt_statfs_all (PVFS_fs_id fs_id, PVFS_credentials *credentials, struct PVFS_mgmt_server_stat *stat_array, int *inout_count_p, PVFS_error_details *details, PVFS_hint hints)

Detailed Description

The PVFS2 management interface provides functionality used to check file system status and to repair damaged file systems.

Both blocking and nonblocking calls are provided for most operations.


Function Documentation

PVFS_error PVFS_mgmt_count_servers PVFS_fs_id  fs_id,
PVFS_credentials credentials,
int  server_type,
int *  count
 

Counts the number of servers of a given type present in a file system.

Parameters:
count pointer to address where output count is stored
Returns:
0 on success, -PVFS_error on failure.

PVFS_error PVFS_mgmt_get_server_array PVFS_fs_id  fs_id,
PVFS_credentials credentials,
int  server_type,
PVFS_BMI_addr_t addr_array,
int *  inout_count_p
 

Obtains a list of all servers of a given type in a specific file system.

Returns:
0 on success, -PVFS_error on failure.

const char* PVFS_mgmt_map_addr PVFS_fs_id  fs_id,
PVFS_credentials credentials,
PVFS_BMI_addr_t  addr,
int *  server_type
 

Maps a given opaque server address back to a string address.

Also fills in server type.

Returns:
Pointer to string on success, NULL on failure.

PVFS_error PVFS_mgmt_setparam_all PVFS_fs_id  fs_id,
PVFS_credentials credentials,
enum PVFS_server_param  param,
struct PVFS_mgmt_setparam_value *  value,
PVFS_error_details *  details,
PVFS_hint  hints
 

Set a single run-time parameter on all servers in a given file system.

Returns:
0 on success, -PVFS_error on failure.

PVFS_error PVFS_mgmt_setparam_single PVFS_fs_id  fs_id,
PVFS_credentials credentials,
enum PVFS_server_param  param,
struct PVFS_mgmt_setparam_value *  value,
char *  server_addr_str,
PVFS_error_details *  details,
PVFS_hint  hints
 

Sets a single run-time parameter on a specific server.

Here is the call graph for this function:

PVFS_error PVFS_mgmt_statfs_all PVFS_fs_id  fs_id,
PVFS_credentials credentials,
struct PVFS_mgmt_server_stat *  stat_array,
int *  inout_count_p,
PVFS_error_details *  details,
PVFS_hint  hints
 

Obtains file system statistics from all servers in a given file system.

Returns:
0 on success, -PVFS_error on failure.


Generated on Tue Feb 7 02:44:02 2012 for PVFS by doxygen 1.3.5