1DPM_RMFS(3)                  DPM Library Functions                 DPM_RMFS(3)
2
3
4

NAME

6       dpm_rmfs - remove a filesystem from a disk pool definition
7

SYNOPSIS

9       #include <sys/types.h>
10       #include "dpm_api.h"
11
12       int dpm_rmfs (char *server, char *fs)
13

DESCRIPTION

15       dpm_rmfs removes a filesystem from a disk pool definition.
16
17       server specifies the host name of the disk server where this filesystem
18              is mounted.
19
20       fs     specifies the mount point of the dedicated filesystem.
21
22       This function requires ADMIN privilege.
23

RETURN VALUE

25       This routine returns 0 if the operation was successful  or  -1  if  the
26       operation failed. In the latter case, serrno is set appropriately.
27

ERRORS

29       ENOENT       Filesystem does not exist.
30
31       EACCES       The caller does not have ADMIN privilege.
32
33       EFAULT       server or fs is a NULL pointer.
34
35       EINVAL       The  length  of  server  exceeds  CA_MAXHOSTNAMELEN or the
36                    length of fs exceeds 79.
37
38       SENOSHOST    Host unknown.
39
40       SEINTERNAL   Database error.
41
42       SECOMERR     Communication error.
43
44
45
46LCG                      $Date: 2006/09/11 05:40:30 $              DPM_RMFS(3)
Impressum