UNSOLVED

storage101102

updated

4 years ago

S

storage101102

1 Rookie

•

2 Posts

0

1145

November 22nd, 2022 12:00

powerflex device usage

We are planning to migrate few hosts and need to check used capacity. How to find volume used capacity? query_volume is not giving any info. 

  • Kumar_A

    2 Intern

    •

    727 Posts

    902

    0

    Posted November 27th, 2022 19:00

    Trying to understand the ask: are you trying to get the volume capacity metrics using RestAPI?

  • Avinash V

    91 Posts

    890

    1

    Posted November 28th, 2022 00:00

    You could use the --query_vtree flag.

    eg:

    # scli --query_vtree --volume_name vol_linux
    VTree ID: 86b375d900000007 Name: vol_linux
    Storage Pool 91138d6b00000000 Name: SP1
    Protection Domain 48fdb3b400000000 Name: PD1
    Data layout: Medium granularity
    Provisioning: Thin
    Total capacity in use: 16.0 GB (16384 MB)
    Total user data: 16.0 GB (16384 MB)
                  Total base user data: 16.0 GB (16384 MB)
                   Total snapshots user data: 0 Bytes