Provided by: dpm_1.13.0-1build1_amd64 bug

NAME

       dpm-getspacemd - get space metadata

SYNOPSIS

       dpm-getspacemd --space_token s_token [ --si ]

       dpm-getspacemd [ --token_desc u_token ] [ --si ]

       dpm-getspacemd --help

DESCRIPTION

       dpm-getspacemd  gets  the  space  metadata  for  a  given  space  token  or  a space token
       description.  If none of the options is specified, the metadata for all the  space  tokens
       accessible by the user will be listed.  For each token, it displays three lines. The first
       one gives the space token, the user description and the poolname associated with it.

       The second one gives the space usage restriction, either a DN or a list of VOMS FQANs.

       The third one gives the size of the space, the amount of free space, the  remaining  space
       lifetime, the retention policy and the access latency.

       s_token
              specifies the space token returned by a previous reservespace request.

       u_token
              specifies  the  user  provided  description associated with a previous reservespace
              request.

OPTIONS

       --si   use powers of 1000 not 1024 for sizes.

EXAMPLE

            setenv DPM_HOST dpmhost
            setenv DPNS_HOST dpnshost

            dpm-getspacemd

            fe869590-b771-4002-b11a-8e7430d72911 myspace pool1
                 dteam
                 10.00G 9.00G 24.0h REPLICA ONLINE
            80e35f8b-7e4e-49a9-90b0-5d5a7ce7e8bc gilbert_1 pool1
                 dteam
                 146.48k 127.01k 1.1m REPLICA ONLINE
            023a5ec1-03ea-464c-9af7-5246183ff5c5 gilbert_2 pool1
                 dteam
                 146.48k 127.01k 1.1m REPLICA ONLINE

            dpm-getspacemd --token_desc myspace

            fe869590-b771-4002-b11a-8e7430d72911 myspace pool1
                 dteam
                 10.00G 9.00G 24.0h REPLICA ONLINE

            dpm-getspacemd --space_token fe869590-b771-4002-b11a-8e7430d72911

            fe869590-b771-4002-b11a-8e7430d72911 myspace pool1
                 dteam
                 10.00G 9.00G 24.0h REPLICA ONLINE

EXIT STATUS

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

SEE ALSO

       dpm(1), dpm-reservespace(1)