Storage Boards Cleanup
To make it easier to find information about HPE Storage products and solutions, we are doing spring cleaning. This includes consolidation of some older boards, and a simpler structure that more accurately reflects how people use HPE Storage.
HPE StoreVirtual Storage / LeftHand
Showing results for 
Search instead for 
Did you mean: 

Obtaining Consumed Space from CLI

Gerald Orban
Occasional Contributor

Obtaining Consumed Space from CLI

Anyone had luck using CLI commands to obtain the "Consumed Space" on a thin provisioned NetWork RAID-5 volume.


The getClusterInfo and getVolumeInfo commands can provide the "Reported Size" as the parameter "size". With say a Network RAID-10 volume using two-way replication you could likely calculate this value using the formula Consumed Space = size * 2. This isn't so easy with a thin provisioned NR5 LUN.


I can get the "Consumed Space" value through the CMC GUI but I'm trying to automate obtaining this info through a command line script.


Any ideas?