Unsolved
This post is more than 5 years old
25 Posts
0
825
Storage Allocated by Storage Group via CLI?
So, in SMC I can select the root folder for Storage Groups and recieve all the groups and the amount of storage associated with each, I can export this to csv as well. Very nice to do some accounting, but annoying to have to go through the GUI.
Any clues how I automatically retrieve this data via CLI? I can't find an option... I can list the storage groups, but not their associates allocation... ?
-Matt
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
May 12th, 2011 13:00
a little scripting project ?
get a list of all storage groups
symsg -sid list
assign this list to a variable and loop through them
SKT2
2 Intern
2 Intern
•
1.3K Posts
0
June 11th, 2011 17:00
since my devices are associated with an initiator group, i could find the total space used by each ig(equal to each serverSG in my opinion) . It will list total capacity
symaccess list -devinfo -ig hostname_hbax