File: dpm-updatespace.man

package info (click to toggle)
dpm-postgres 1.7.4.7-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 13,788 kB
  • ctags: 10,782
  • sloc: ansic: 146,136; sh: 13,362; perl: 11,142; python: 5,529; cpp: 5,113; sql: 1,790; makefile: 955; fortran: 113
file content (79 lines) | stat: -rw-r--r-- 2,087 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
.\" @(#)$RCSfile: dpm-updatespace.man,v $ $Revision: 1.2 $ $Date: 2008/09/24 11:25:00 $ CERN IT-GD/ITR Jean-Philippe Baud
.\" Copyright (C) 2007-2008 by CERN/IT/GD/ITR
.\" All rights updated
.\"
.TH DPM-UPDATESPACE 1 "$Date: 2008/09/24 11:25:00 $" LCG "DPM Commands"
.SH NAME
dpm-updatespace \- update space
.SH SYNOPSIS
.B dpm-updatespace
.BI --space_token " s_token"
[
.BI --gid " group_ids"
] [
.BI --group " group_names"
] [
.BI --gspace " size_guaranteed_space"
] [
.B --help
] [
.BI --lifetime " space_lifetime"
]
.sp
.B dpm-updatespace
.BI --token_desc " u_token"
[
.BI --gid " group_ids"
] [
.BI --group " group_names"
] [
.BI --gspace " size_guaranteed_space"
] [
.B --help
] [
.BI --lifetime " space_lifetime"
]
.SH DESCRIPTION
.B dpm-updatespace
updates space.
.SH OPTIONS
.TP
.I s_token
specifies the token returned by a previous reservespace request.
.TP
.I u_token
specifies the user provided description associated with the reservespace request.
.TP
.I group_ids
The existing list can be reset using a comma separated list of group gids,
extended by prefixing the gid by + or reduced by prefixing the gid by -.
See examples.
.TP
.I group_names
The existing list can be reset using a comma separated list of group names,
extended by prefixing the name by + or reduced by prefixing the name by -.
.TP
.I size_guaranteed_space
new size of guaranteed space desired in bytes.
The number may also have a suffix k, M, G, T or P to indicate kB, MB, GB, TB or
PB respectively.
.TP
.I space_lifetime
specifies the new space lifetime relative to the current time.
It can be "Inf" (for infinite) or expressed in years (suffix 'y'), months
(suffix 'm'), days (suffix 'd'), hours (suffix 'h') or seconds (no suffix).
.SH EXAMPLE
.nf
.ft CW
dpm-updatespace --space_token fe869590-b771-4002-b11a-8e7430d72911 --lifetime 1m
.sp
dpm-updatespace --token_desc myspace --gspace 5G
.sp
dpm-updatespace --token_desc atlgrpspace --group -atlas/higgs
.ft
.fi
.SH EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation
failed.
.SH SEE ALSO
.BR dpm_updatespace(3)