dpm_modifyfs man page

DPM_MODIFYFS(3)              DPM Library Functions             DPM_MODIFYFS(3)

[1mNAME[0m
      dpm_modifyfs - modify the parameters of a disk pool filesystem

[1mSYNOPSIS[0m
      [1m#include <sys/types.h>[0m
      [1m#include "dpm_api.h"[0m

      [1mint dpm_modifyfs (char *[4m[22mserver[24m[1m, char *[4m[22mfs[24m[1m, int [4m[22mstatus[24m[1m, int [4m[22mweight[24m[1m)[0m

[1mDESCRIPTION[0m
      [1mdpm_modifyfs [22mmodifies the parameters of a disk pool filesystem.

      [4mserver[24m specifies the host name of the disk server where this filesystem
             is mounted.

      [4mfs[24m     specifies the mount point of the dedicated filesystem.

      [4mstatus[24m Initial status of this filesystem. It can be set to 0 or [1mFS_DIS-[0m
             [1mABLED  [22mor [1mFS_RDONLY[22m.  (-1 will tell the server to not change the
             current value).

      [4mweight[24m 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.

[1mRETURN VALUE[0m
      This  routine  returns  0  if the operation was successful or -1 if the
      operation failed. In the latter case, [1mserrno [22mis set appropriately.

[1mERRORS[0m
      [1mENOENT       [22mFilesystem does not exist.

      [1mEACCES       [22mThe caller does not have ADMIN privilege.

      [1mEFAULT       [4m[22mserver[24m or [4mfs[24m is a NULL pointer.

      [1mEINVAL       [22mThe length of  [4mserver[24m  exceeds  [1mCA_MAXHOSTNAMELEN  [22mor  the
                   length of [4mfs[24m exceeds 79.

      [1mSENOSHOST    [22mHost unknown.

      [1mSEINTERNAL   [22mDatabase error.

      [1mSECOMERR     [22mCommunication error.

LCG          $Date: 2011-05-19 13:04:02 +0200 (Thu, 19 May 2011)DP$M_MODIFYFS(3)