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