1DPM‐ADDPOOL(1) DPM Administrator Commands
2DPM‐ADDPOOL(1)
3
4
5
6[1mNAME[0m
7 dpm‐addpool ‐ define a new disk pool
8
9[1mSYNOPSIS[0m
10 [1mdpm‐addpool ‐‐poolname [4m[22mpool_name[24m
11[1m‐‐def_filesize [4m[22mdefsize[24m [ [1m‐‐def_life‐[0m
12 [1mtime [4m[22mdef_lifetime[24m ] [ [1m‐‐def_pintime
13[4m[22mdefpintime[24m ] [ [1m‐‐gc_start_thresh[0m
14 [4mperc[24m ] [ [1m‐‐gc_stop_thresh [4m[22mperc[24m ]
15[ [1m‐‐gid [4m[22mpool_gids[24m ] [ [1m‐‐group[0m
16 [4mpool_groups[24m ] [ [1m‐‐help [22m] [ [1m‐‐max_lifetime
17[4m[22mmax_lifetime[24m ] [ [1m‐‐max_pin‐[0m
18 [1mtime [4m[22mmaxpintime[24m ] [ [1m‐‐ret_policy
19[4m[22mretention_policy[24m ] [ [1m‐‐s_type[0m
20 [4mspace_type[24m ]
21
22[1mDESCRIPTION[0m
23 [1mdpm‐addpool [22mdefines a new disk pool.
24
25 This command requires ADMIN privilege.
26
27[1mOPTIONS[0m
28 [4mpool_name[0m
29 specifies the disk pool name. It must be at most
30CA_MAXPOOL‐
31 NAMELEN characters long.
32
33 [4mdefsize[0m
34 specifies the default amount of space reserved for
35a file. This
36 is by default in bytes, but the number may also
37be post‐fixed
38 with ’k’, ’M’ or ’G’ for kilobyte, Megabyte and Gi‐
39gabyte respec‐
40 tively.
41
42 [4mdef_lifetime[0m
43 specifies the default time a space or volatile file
44is kept in
45 the system (in seconds).
46
47 [4mdefpintime[0m
48 specifies the default time a file is kept on a
49given disk (in
50 seconds).
51
52 [4mgc_start_thresh[0m
53 specifies the minimum free space in the pool. If
54the percentage
55 of free space goes below this value, the garbage
56collector is
57 started. Default is 0.
58
59 [4mgc_stop_thresh[0m
60 specifies the percentage of free space in the pool
61above which
62 the garbage collector is stopped. Default is 0.
63
64 [4mmax_lifetime[0m
65 specifies the maximum time a space or volatile
66file is kept in
67 the system (in seconds).
68
69 [4mmaxpintime[0m
70 specifies the maximum time a file is kept on a
71given disk (in
72 seconds).
73
74 [4mpool_gids[0m
75 if not zero, the disk pool is restricted to this
76comma separated
77 list of group gids.
78
79 [4mpool_groups[0m
80 if set and not "ALL", the disk pool is restricted
81to this comma
82 separated list of group names.
83
84 [4mretention_policy[0m
85 specifies the retention policy supported by the
86disk pool. It
87 can be [1mR [22m(for Replica), [1mO [22m(for Out‐
88put) or [1mC [22m(for Custodial).
89 Default is [1mR[22m.
90
91 [4mspace_type[0m
92 indicates the type of space supported in the disk
93pool. It can
94 be [1mV [22m(for Volatile), [1mD [22m(for Durable),
95[1mP [22m(for Permanent) or [1m‐ [22m(to
96 accept any type). The latter is the default.
97
98[1mEXAMPLE[0m
99 dpm‐addpool ‐‐poolname Volatile ‐‐def_filesize 200M
100‐‐s_type V
101
102[1mEXIT STATUS[0m
103 This program returns 0 if the operation was successful
104or >0 if the
105 operation failed.
106
107[1mSEE ALSO[0m
108 [1mdpm(1)[22m, [1mdpm_addpool(3)[0m
109
110
111
112LCG $Date$
113DPM‐ADDPOOL(1)
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132