- Community Home
- >
- Storage
- >
- HPE Nimble Storage
- >
- Array Performance and Data Protection
- >
- Hello All! Is there a way to show total volume a...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2016 10:29 AM
тАО08-05-2016 10:29 AM
Hello All!
Is there a way to show total volume and snapshot usage of volumes using the CLI?
In the web GUI, you can go to Manage > Volumes > Space and it will give you a wonderful list of volumes, sizes, Volume Usage, Snapshot Usage and Total Usage; however, there isn't a way cleanly to pull all that data, shove it into an excel report and hand it to management. Nor could you just print the web GUI and hand it to them as it only will show 21 out of my 171 volumes at a time. I can try and copy the lines from the web GUI, 21 at a time, paste them into a text editor or Excel and try and clean them up, but this is cumbersome.
IS there an easy way to pull the same information via CLI and then be able to dump it to Excel? Something like the below, which is an example of what the collected data from the web GUI looks like after being clean up.
Volume Size Volume Usage Snapshot Usage Total Usage
BC-NIM-VMFS-TRAFFIC-C.OS-01 1.0 TB 137.7 GB 42.6 GB 180.29 GB
BC-NIM-VMFS-TRAFFIC-DB-D.DATA 256.0 GB 184.44 MB 83.47 MB 267.91 MB
BC-NIM-VMFS-TRAFFIC-S.SWAP-01 256.0 GB 982.56 MB 2.54 GB 3.5 GB
BC-NIM-VMFS-VCENTER-COS-01 1.0 TB 121.6 GB 75.75 GB 197.35 GB
BC-NIM-VMFS-VCENTER-DDATA-01 2.0 TB 271.71 GB 40.64 GB 312.35 GB
BC-NIM-VMFS-VCENTER-SSWAP-01 512.0 GB 6.56 GB 347.01 MB 6.9 GB
Scottie
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2016 10:55 AM
тАО08-05-2016 10:55 AM
SolutionHi Scottie,
Welcome to the forums.
The best way to get this information is to head to Infosight and click on 'Volumes', then click "Export". You'll get all the information you require in a handy CSV file where you can then manipulate it to your requirements.
twitter: @nick_dyer_
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2016 12:09 PM
тАО08-05-2016 12:09 PM
Re: Re: Hello All! Is there a way to show total volume and snapshot usage of volumes using the CLI?
I agree 100% with Nick that InfoSight is the best way to go.
That said, I wouldn't want to miss the opportunity to introduce you to the Nimble PowerShell Toolkit. We describe it HERE on Nimble Connect.
With the PS Toolkit, this is a pretty simple task as well. You can use the following one-liner after connecting to a Nimble array:
Get-NSVolume | select name,size,vol_usage*,snap_usage* | ConvertTo-Csv > vols.csv
You then end up with something like this:
From there it's just a matter of summing.
Cheers!
Julian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2016 01:18 PM
тАО08-05-2016 01:18 PM
Re: Hello All! Is there a way to show total volume and snapshot usage of volumes using the CLI?
Nick,
Thank you, this is useful and I am surprised i missed the export. The only thing I noticed is that is seems to prune some of the info. In the export under Snapshot Used (GB), in the size in under 1GB, it reports as 0. In the web GUI same volume would shows SNAPSHOT SPACE Used 3.65 MB. Granted its such a small thing in the amount of data and I get it may not report things under 1GB, but those I would show the report to would question it and ask why the volume wasn't being snapshotted when it is and is consuming a small amount of data.