dpm_rmfs man page

DPM_RMFS(3)                  DPM Library Functions                 DPM_RMFS(3)

[1mNAME[0m
      dpm_rmfs - remove a filesystem from a disk pool definition

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

      [1mint dpm_rmfs (char *[4m[22mserver[24m[1m, char *[4m[22mfs[24m[1m)[0m

[1mDESCRIPTION[0m
      [1mdpm_rmfs [22mremoves a filesystem from a disk pool definition.

      [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.

      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: 2006/09/11 05:40:30 $              DPM_RMFS(3)