I was browsing the ECN Symmetrix Forum when I ran across this post where someone was asking for a summary of capacity allocated to each storage group – something you can easily get with ControlCenter or ProSphere but not with the SymCLI. Don’t get me wrong, SymCLI cave give you the information just not in a nice easy command. So I duh out a script to share.
You just run this script and specify the SID and watch it come back with a list of ever device allocated sorted by storage group.
[code]LUN, SG, Pool, Size, Allocated, Written, Compressed Size, FAs 1424,TestSG1,SATA_R6,275.0,226,257.8,226.9,”FA-9E:1,FA-7E:1,FA-10E:1,FA-8E:1″ 0C77,TestSG1,SATA_R6,300.0,237,283.4,237.4,”FA-6E:1,FA-3E:1,FA-4E:1,FA-5E:1″ 0A4D,TestSG2,FC_R5,150.0,98,99.0,98.5,”FA-6E:1,FA-3E:1,FA-4E:1,FA-5E:1″ 0C60,TestSG2,FC_R5,100.0,6,50.8,6.1,”FA-6E:1,FA-3E:1,FA-4E:1,FA-5E:1″ 0A02,TestSG99,FC_R5,50.0,5,12.0,5.7,”FA-6E:1,FA-3E:1,FA-4E:1,FA-5E:1″ [/code]
This can take a little while to run – but it’s easy for reporting allocations.