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

NAME

6       dpm_rmpool - remove a disk pool definition
7

SYNOPSIS

9       #include <sys/types.h>
10       #include "dpm_api.h"
11
12       int dpm_rmpool (char *poolname)
13

DESCRIPTION

15       dpm_rmpool removes a disk pool definition.
16
17       poolname
18              specifies the disk pool name.
19
20       This function requires ADMIN privilege.
21

RETURN VALUE

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

ERRORS

27       ENOENT       Pool does not exist.
28
29       EACCES       The caller does not have ADMIN privilege.
30
31       EFAULT       poolname is a NULL pointer.
32
33       EEXIST       Space token still associated with poolname.
34
35       EINVAL       The length of poolname exceeds CA_MAXPOOLNAMELEN.
36
37       SENOSHOST    Host unknown.
38
39       SEINTERNAL   Database error.
40
41       SECOMERR     Communication error.
42
43
44
45LCG          $Date: 2010-04-01 11:25:59 +0200 (Thu, 01 Apr 2010) $DPM_RMPOOL(3)
Impressum