1DPM-GETSPACEMD(1)         DPM Administrator Commands         DPM-GETSPACEMD(1)
2
3
4

NAME

6       dpm-getspacemd - get space metadata
7

SYNOPSIS

9       dpm-getspacemd --space_token s_token
10
11       dpm-getspacemd [ --token_desc u_token ]
12
13       dpm-getspacemd --help
14

DESCRIPTION

16       dpm-getspacemd  gets  the  space  metadata for a given space token or a
17       space token description.  If none of  the  options  is  specified,  the
18       metadata  for  all  the  space  tokens  accessible  by the user will be
19       listed.  For each token, it displays three lines. The first  one  gives
20       the  space token, the user description and the poolname associated with
21       it.
22
23       The second one gives the space usage restriction, either a DN or a list
24       of VOMS FQANs.
25
26       The  third  one  gives the size of the space, the amount of free space,
27       the remaining space lifetime,  the  retention  policy  and  the  access
28       latency.
29
30       s_token
31              specifies  the  space  token returned by a previous reservespace
32              request.
33
34       u_token
35              specifies the user provided description associated with a previā€
36              ous reservespace request.
37

EXAMPLE

39            setenv DPM_HOST dpmhost
40            setenv DPNS_HOST dpnshost
41
42            dpm-getspacemd
43
44            fe869590-b771-4002-b11a-8e7430d72911 myspace pool1
45                 dteam
46                 10.00G 9.00G 24.0h REPLICA ONLINE
47            80e35f8b-7e4e-49a9-90b0-5d5a7ce7e8bc gilbert_1 pool1
48                 dteam
49                 146.48k 127.01k 1.1m REPLICA ONLINE
50            023a5ec1-03ea-464c-9af7-5246183ff5c5 gilbert_2 pool1
51                 dteam
52                 146.48k 127.01k 1.1m REPLICA ONLINE
53
54            dpm-getspacemd --token_desc myspace
55
56            fe869590-b771-4002-b11a-8e7430d72911 myspace pool1
57                 dteam
58                 10.00G 9.00G 24.0h REPLICA ONLINE
59
60            dpm-getspacemd --space_token fe869590-b771-4002-b11a-8e7430d72911
61
62            fe869590-b771-4002-b11a-8e7430d72911 myspace pool1
63                 dteam
64                 10.00G 9.00G 24.0h REPLICA ONLINE
65

EXIT STATUS

67       This  program  returns  0  if the operation was successful or >0 if the
68       operation failed.
69

SEE ALSO

71       dpm(1), dpm-reservespace(1)
72
73
74
75LCG                      $Date: 2008/09/24 11:25:00 $        DPM-GETSPACEMD(1)
Impressum