Unsolved
This post is more than 5 years old
76 Posts
0
742
January 23rd, 2012 07:00
Get total space available from DMX4 via command line?
We do not have the SMC gui installed (which I understand is the best way to get total available space on the Symmetrix), so is there a way to get a composite amount of available space from the DMX-4 via the command line? Either via single command or perhaps some shell scripting?
I know how to list available disks via individual disk groups then manually add the free space from the free column, but I also don't really know how many disk groups are in the SAN either.
Thank you.
No Events found!
markdf
76 Posts
0
January 23rd, 2012 08:00
Actually, thank you. I also found out that this works too:
$./symconfigure list -freespace -units MB
Symmetrix ID: x28
Emulation Formatted Unformatted
(MB) (MB)
--------------------- --------- -----------
FBA 17312624 0
IBM_FBA 17312624 0
UNISYS_FBA 17042114 0
cheers!
dynamox
9 Legend
•
20.4K Posts
1
January 23rd, 2012 08:00
you don't to list individual disk groups if you don't want to, on unix you could run something like this:
expr `symdisk list -sid |awk '{a += $9};END{print a}'` / 1024
this will give you space available in all disk groups. Now that does not mean all that space can be used to create new devices. When you create new devices your array will follow certain checks and balances to make sure devices are configured in redundant way. For example for raid 5 no two device members resides on the same spindle. Also take into account that you might have devices that are already created but have not been mapped/masked to any hosts. Some would say that's available space.