This post is more than 5 years old
1 Rookie
•
22 Posts
0
1352
December 21st, 2011 10:00
CMD for total allocated storage for DMX array
Hi,
I tried the command symdev -sid xxx list but the output gives the total configured space for the array, is there any command to check the total ALLOCATED capacity for the entire array.
Thank you
No Events found!
dynamox
9 Legend
•
20.4K Posts
0
December 21st, 2011 11:00
ok, so you have pretty much all of array's capacity mapped , that's why symdev list output and symdev list -firstport are close. You can use symmaskdb -sid 1234 list no_assignment ..to see if you have devices that are mapped to FAs but are not masked. Could be potential candidates to be reclaimed.
dynamox
9 Legend
•
20.4K Posts
0
December 21st, 2011 10:00
what would you considered "allocated" , devices that have been presented to hosts, devices that are being used for timefinder operations but are not presented to hosts ?
web2naseer
1 Rookie
•
22 Posts
0
December 21st, 2011 10:00
ok, i would like to see the devices that have been presented to hosts.
web2naseer
1 Rookie
•
22 Posts
0
December 21st, 2011 11:00
no, i'm on windows
web2naseer
1 Rookie
•
22 Posts
0
December 21st, 2011 11:00
ok now, i've added the last column of the above mentioned command and it gives me the configured space for the array which is equal to the symdev list -sid 1234 output.
dynamox
9 Legend
•
20.4K Posts
0
December 21st, 2011 11:00
so if you run this command "symdev list -sid 123 -firstport", this will list all devices that are mapped to at least one FAs. Assuming you do not have devices that are mapped but not masked, you could add up the last column.
dynamox
9 Legend
•
20.4K Posts
0
December 21st, 2011 11:00
that should work
dynamox
9 Legend
•
20.4K Posts
0
December 21st, 2011 11:00
Are you on a *nix box ?
web2naseer
1 Rookie
•
22 Posts
0
December 21st, 2011 11:00
yes it is different, the output for symdev list -sid 1234 is 191276.4 GB and the output for symdev list -sid 1234 -noport is 919.7 GB.
web2naseer
1 Rookie
•
22 Posts
0
December 21st, 2011 11:00
as i understand, now i need to check for the devices which are not yet assigned .. get the total capacity of these devices and substract it from the output of the symdev list -sid 1234 in order to get the allocated capacity??
dynamox
9 Legend
•
20.4K Posts
0
December 21st, 2011 11:00
is symdev list -sid 1234 output different from symdev list -sid 1234 -noport ?
web2naseer
1 Rookie
•
22 Posts
0
December 21st, 2011 14:00
Thanks a ton, it worked!!!