1DPM-ADDPOOL(1) DPM Administrator Commands DPM-ADDPOOL(1)
2
3
4
6 dpm-addpool - define a new disk pool
7
9 dpm-addpool --poolname pool_name --def_filesize defsize [ --def_life‐
10 time def_lifetime ] [ --def_pintime defpintime ] [ --gc_start_thresh
11 perc ] [ --gc_stop_thresh perc ] [ --gid pool_gids ] [ --group
12 pool_groups ] [ --help ] [ --max_lifetime max_lifetime ] [ --max_pin‐
13 time maxpintime ] [ --ret_policy retention_policy ] [ --s_type
14 space_type ]
15
17 dpm-addpool defines a new disk pool.
18
19 This command requires ADMIN privilege.
20
22 pool_name
23 specifies the disk pool name. It must be at most CA_MAXPOOL‐
24 NAMELEN characters long.
25
26 defsize
27 specifies the default amount of space reserved for a file. This
28 is by default in bytes, but the number may also be post-fixed
29 with 'k', 'M' or 'G' for kilobyte, Megabyte and Gigabyte respec‐
30 tively.
31
32 def_lifetime
33 specifies the default time a space or volatile file is kept in
34 the system (in seconds).
35
36 defpintime
37 specifies the default time a file is kept on a given disk (in
38 seconds).
39
40 gc_start_thresh
41 specifies the minimum free space in the pool. If the percentage
42 of free space goes below this value, the garbage collector is
43 started. Default is 0.
44
45 gc_stop_thresh
46 specifies the percentage of free space in the pool above which
47 the garbage collector is stopped. Default is 0.
48
49 max_lifetime
50 specifies the maximum time a space or volatile file is kept in
51 the system (in seconds).
52
53 maxpintime
54 specifies the maximum time a file is kept on a given disk (in
55 seconds).
56
57 pool_gids
58 if not zero, the disk pool is restricted to this comma separated
59 list of group gids.
60
61 pool_groups
62 if set and not "ALL", the disk pool is restricted to this comma
63 separated list of group names.
64
65 retention_policy
66 specifies the retention policy supported by the disk pool. It
67 can be R (for Replica), O (for Output) or C (for Custodial).
68 Default is R.
69
70 space_type
71 indicates the type of space supported in the disk pool. It can
72 be V (for Volatile), D (for Durable), P (for Permanent) or - (to
73 accept any type). The latter is the default.
74
76 dpm-addpool --poolname Volatile --def_filesize 200M --s_type V
77
79 This program returns 0 if the operation was successful or >0 if the
80 operation failed.
81
83 dpm(1), dpm_addpool(3)
84
85
86
87LCG $Date: 2010-02-05 10:50:58 +0100 (Fri, 05 Feb 2010)D$PM-ADDPOOL(1)