dpm-getspacemd man page

DPM-GETSPACEMD(1)         DPM Administrator Commands         DPM-GETSPACEMD(1)

[1mNAME[0m
      dpm-getspacemd - get space metadata

[1mSYNOPSIS[0m
      [1mdpm-getspacemd --space_token [4m[22ms_token[24m [ [1m--si [22m]

      [1mdpm-getspacemd [22m[ [1m--token_desc [4m[22mu_token[24m ] [ [1m--si [22m]

      [1mdpm-getspacemd --help[0m

[1mDESCRIPTION[0m
      [1mdpm-getspacemd  [22mgets  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.

      [4ms_token[0m
             specifies  the  space  token returned by a previous reservespace
             request.

      [4mu_token[0m
             specifies the user provided description associated with a previ-
             ous reservespace request.

[1mOPTIONS[0m
      [1m--si   [22muse powers of 1000 not 1024 for sizes.

[1mEXAMPLE[0m
           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

[1mEXIT STATUS[0m
      This  program  returns  0  if the operation was successful or >0 if the
      operation failed.

[1mSEE ALSO[0m
      [1mdpm(1)[22m, [1mdpm-reservespace(1)[0m

LCG                      $Date: 2008/09/24 11:25:00 $        DPM-GETSPACEMD(1)