IN THIS ARTICLE
- Outlines how to use the qq CLI to determine Snapshot capacity consumption
- Cluster running Qumulo Core version 2.5.1 or higher
- Command line (CLI) tools installed via API & Tools tab
You can use the qq CLI to find out how much capacity is being consumed by all snapshots.This will return the total number of bytes consumed by snapshots.
admin@example-3:~$ qq snapshot_get_total_used_capacity
For individual snapshots, there’s a different qq command. Unlike other storage systems, this will give you exactly the number of bytes you’ll get back if you delete that snapshot.
- You’ll need to provide a snapshot ID, which you can get with qq snapshot_list_snapshots, by looking in the UI, or by listing the snapshot directories in the file system.
admin@example-3:~$ qq snapshot_calculate_used_capacity --ids 5719
If you have data that is referenced in multiple snapshots, you can only reclaim that capacity by deleting all snapshots referencing the data. With this same command you can see how much you’ll reclaim if you delete a set of snapshots by simply providing multiple IDs separated by commas.
admin@example-3:~$ qq snapshot_calculate_used_capacity --ids 5719,5718,5717
You should now be able to successfully determine Snapshot capacity consumption using the qq CLI.
Like what you see? Share this article with your network!