HPE StoreVirtual Storage / LeftHand
cancel
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?