Unsolved
This post is more than 5 years old
51 Posts
0
1547
storage group spread accross tiers
on VMAX - FAST VP
is there a command that give me the distribution of chunks in % of all TDEV in a storage group by tiers?
the command "symfast -sid xxx show -association -sg sg_name" gives us only the rules.
thanks
Nafez
11 Posts
0
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,
mdani1
56 Posts
0
August 8th, 2012 09:00
If you get a better way or one single comand option found please do post to us too. And if this helped you let us know.
mdani1
56 Posts
2
August 8th, 2012 09:00
Hi,
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
02D3 B 2457735 0 171240 7 1523227 62
Sym Pool Name Tracks Tracks (%)
Pool Name : 1TB_06_S_1 ==> % from other pools
Sym Pool Name Tracks Tracks (%)
02D3 300_03_F_1 2457735 1254096 51
Pool Name : 200_03_E_1
Sym Pool Name Tracks Tracks (%)
02D3 300_03_F_1 2457735 213120 9
02D4################################
Pool Name : 300_03_F_1
02D4 B 2457735 0 147600 6 1523213 62
Sym Pool Name Tracks Tracks (%)
Pool Name : 1TB_06_S_1
Sym Pool Name Tracks Tracks (%)
02D4 300_03_F_1 2457735 1277616 52
Pool Name : 200_03_E_1
Sym Pool Name Tracks Tracks (%)
02D4 300_03_F_1 2457735 213240 9
Regards,
Mrinal Dani
elearning
51 Posts
1
August 9th, 2012 08:00
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
name_pool1 ---- - - 157920 19 - - - ----> 19% on name_pool1
nmae_pool2 ---- - - 7068 1 - - - ---> 1% on name_pool2
thanks all for your helps
Naren5
3 Posts
0
October 14th, 2013 14:00
I think the below command is very close for what you are looking.
symcfg -sid xxxx list -tdev -sg storage_group -gb -tier
rawstorage
419 Posts
0
October 16th, 2013 00:00
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
symcfg list -tdev -bound -detail -sg SGNAME
Symmetrix ID: 000xxxxxxxx
Enabled Capacity (Tracks) : 14618577744
Bound Capacity (Tracks) : 1188000
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