Query: dpm_modifyfs
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DPM_MODIFYFS(3) DPM Library Functions DPM_MODIFYFS(3)NAMEdpm_modifyfs - modify the parameters of a disk pool filesystemSYNOPSIS#include <sys/types.h> #include "dpm_api.h" int dpm_modifyfs (char *server, char *fs, int status, int weight)DESCRIPTIONdpm_modifyfs modifies the parameters of a disk pool filesystem. server specifies the host name of the disk server where this filesystem is mounted. fs specifies the mount point of the dedicated filesystem. status Initial status of this filesystem. It can be set to 0 or FS_DISABLED or FS_RDONLY. (-1 will tell the server to not change the cur- rent value). weight specifies the weight of the filesystem. This is used during the filesystem selection. The value must be positive (-1 will tell the server to not change the current value). It is recommended to use a value lower than 10. This function requires ADMIN privilege.RETURN VALUEThis routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.ERRORSENOENT Filesystem does not exist. EACCES The caller does not have ADMIN privilege. EFAULT server or fs is a NULL pointer. EINVAL The length of server exceeds CA_MAXHOSTNAMELEN or the length of fs exceeds 79. SENOSHOST Host unknown. SEINTERNAL Database error. SECOMERR Communication error.LCG$Date$ DPM_MODIFYFS(3)
Related Man Pages |
---|
dpm_getpoolfs(3) - debian |
dpns_addreplica(3) - debian |
dpns_addreplicax(3) - debian |
lfc_addreplicax(3) - debian |
lfc_listreplicax(3) - debian |
Similar Topics in the Unix Linux Community |
---|
disk space |
How to know about filesystem |
how to use a scsi disk?? |
Monitor server's health |
Core Dumping? |