1DPM_RMPOOL(3) DPM Library Functions
2DPM_RMPOOL(3)
3
4
5
6[1mNAME[0m
7 dpm_rmpool ‐ remove a disk pool definition
8
9[1mSYNOPSIS[0m
10 [1m#include <sys/types.h>[0m
11 [1m#include "dpm_api.h"[0m
12
13 [1mint dpm_rmpool (char *[4m[22mpoolname[24m[1m)[0m
14
15[1mDESCRIPTION[0m
16 [1mdpm_rmpool [22mremoves a disk pool definition.
17
18 [4mpoolname[0m
19 specifies the disk pool name.
20
21 This function requires ADMIN privilege.
22
23[1mRETURN VALUE[0m
24 This routine returns 0 if the operation was successful
25or ‐1 if the
26 operation failed. In the latter case, [1mserrno [22mis set
27appropriately.
28
29[1mERRORS[0m
30 [1mENOENT [22mPool does not exist.
31
32 [1mEACCES [22mThe caller does not have ADMIN privi‐
33lege.
34
35 [1mEFAULT [4m[22mpoolname[24m is a NULL pointer.
36
37 [1mEEXIST [22mSpace token still associated with
38[4mpoolname[24m.
39
40 [1mEINVAL [22mThe length of [4mpoolname[24m exceeds
41[1mCA_MAXPOOLNAMELEN[22m.
42
43 [1mSENOSHOST [22mHost unknown.
44
45 [1mSEINTERNAL [22mDatabase error.
46
47 [1mSECOMERR [22mCommunication error.
48
49
50
51LCG $Date$
52DPM_RMPOOL(3)
53
54
55
56
57
58
59
60
61
62
63
64
65
66