dpm-getspacemd(1) - Linux man page

Name

dpm-getspacemd - get space metadata

Synopsis

dpm-getspacemd --space_tokens_token

dpm-getspacemd [ --token_desc u_token ]

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.

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)