StoreVirtual Storage
1753902 Members
9348 Online
108810 Solutions
New Discussion

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?