1- symcfg show -pool <bound-pool> -thin -sid xx -detail ;
and look for the last table named as "Pool Bound Thin Devices()" , and in this table you can look for your devices percentage % allocated tracks under the pool allocated tracks column , which will be the percentage of the extents of this tier
2-symcfg show -pool <other-pool-in the policy> -thin -sid xx -detail ;
and look for the last table named as "Other-Pool Bound Thin Devices()" , and in this table you can look for your devices percentage % allocated tracks under the pool allocated tracks column , which will be the percentage of the extents of this tier
3-adding all these percentages % together should be equal to the Total written Tracks % , which you can get from the first command.
Nafez gave the correct way to get the desired output and we dont have a single comand in symcli to obtain the same. This year in EMC world we had put request to EMC Symcli group for introducing the same by me and many other folks who attended the symcli advanced scripting session in Vegas. They will be looking for such request coming forward.
But apart from that I have made my own small script as this information is always needed to show whether Fastvp is helping the host or not. Below is the comand by which i work
for i in `symaccess -sid 30 show Maskingview_name view | awk '{print $1}' | grep -v ':' | grep -i [0-9]`; do echo $i################################; symcfg -sid 30 list -thin -pool | grep RAID | awk '{printf "symcfg -sid 30 show -pool %s -thin -detail\n",$1}' | sh | egrep "Name|$i"; done
You can use this for masking view which you are looking or you can edit this your own way to get your desired putput. In my case it works like below :-
02D3################################
Pool Name : 300_03_F_1 ==> this is the pool device is bind
i found this comand gives the detail for each tdev in the pool spread on others pools:
$ symcfg -sid xxxx list -tdev -pool name_pool -detail
S Y M M E T R I X T H I N D E V I C E S ------------------------------------------------------------------------------- Pool Pool Total Flags Total Subs Allocated Written Sym Pool Name EMSP Tracks (%) Tracks (%) Tracks (%) Status ---- ------------ ----- --------- ----- --------- --- --------- --- -----------
0BA5 name_pool F... 552420 0 552432 100 94940 17 Bound ---> this one is 100% on the pool
0F9A name_pool FX.. 828630 0 663660 80 828630 100 Bound ---> this one is 80% on name_pool
This command will show you only the bound TDEV and all allocations for each device in the storage group,. should give you exactly what you are after, similar to Narens command, with sample output
S Y M M E T R I X T H I N D E V I C E S ------------------------------------------------------------------------------------- Pool Pool Total Compressed Bound Flags Total Subs Allocated Written Size/Ratio Sym Pool Name ESPT Tracks (%) Tracks (%) Tracks (%) Tracks (%) ---- ------------ ----- ---------- ----- ---------- --- ---------- --- ---------- --- 1E7A SAS_1 F..B 33000 0 48 0 0 0 48 0 3B2F SAS_1 F..B 33000 0 3264 10 3558 11 3264 0 SSD_1 -.-- - - 468 1 - - 468 0 NLSAS_1 -.-- - - 36 0 - - 36 0 3B33 SAS_1 F..B 33000 0 0 0 3558 11 0 0 SSD_1 -.-- - - 3684 11 - - 3684 0 NLSAS_1 -.-- - - 84 0 - - 84 0
Nafez
11 Posts
864
0
Posted August 7th, 2012 07:00
you can do this getting the output of :
1- symcfg show -pool <bound-pool> -thin -sid xx -detail ;
and look for the last table named as "Pool Bound Thin Devices()" , and in this table you can look for your devices percentage % allocated tracks under the pool allocated tracks column , which will be the percentage of the extents of this tier
2-symcfg show -pool <other-pool-in the policy> -thin -sid xx -detail ;
and look for the last table named as "Other-Pool Bound Thin Devices()" , and in this table you can look for your devices percentage % allocated tracks under the pool allocated tracks column , which will be the percentage of the extents of this tier
3-adding all these percentages % together should be equal to the Total written Tracks % , which you can get from the first command.
BR,