1DPM_RMFS(3)                       DPM      Library      Functions
2DPM_RMFS(3)
3
4
5
6[1mNAME[0m
7       dpm_rmfs ‐ remove a filesystem from 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_rmfs   (char   *[4m[22mserver[24m[1m,    char
14*[4m[22mfs[24m[1m)[0m
15
16[1mDESCRIPTION[0m
17       [1mdpm_rmfs [22mremoves a filesystem from a disk pool def‐
18inition.
19
20       [4mserver[24m specifies the host name of the  disk  server
21where this filesystem
22              is mounted.
23
24       [4mfs[24m      specifies  the mount point of the dedicated
25filesystem.
26
27       This function requires ADMIN privilege.
28
29[1mRETURN VALUE[0m
30       This routine returns 0 if the operation was successful  or
31‐1  if  the
32       operation failed. In the latter case, [1mserrno [22mis set
33appropriately.
34
35[1mERRORS[0m
36       [1mENOENT       [22mFilesystem does not exist.
37
38       [1mEACCES       [22mThe caller does not have ADMIN  privi‐
39lege.
40
41       [1mEFAULT        [4m[22mserver[24m  or [4mfs[24m is a NULL
42pointer.
43
44       [1mEINVAL       [22mThe  length   of   [4mserver[24m   ex‐
45ceeds  [1mCA_MAXHOSTNAMELEN [22mor the
46                    length of [4mfs[24m exceeds 79.
47
48       [1mSENOSHOST    [22mHost unknown.
49
50       [1mSEINTERNAL   [22mDatabase error.
51
52       [1mSECOMERR     [22mCommunication error.
53
54
55
56LCG                         $Date:    2006/09/11    05:40:30    $
57DPM_RMFS(3)
58
59
60
61
62
63
64
65
66
Impressum