Finding Symmetrix meta devices which are no longer needed
Recently I was working with a buddy who was trying to find out what devices they has on a EMC VMAX which were created but not in a storage group. He was using SMC to do a whole lot of clicking on each device and checking its storage group manually. If you know me at all, you know I like to automate things – Automate All the Things! Dynamox over at Storage Monkey told me i’d automate myself out of a job one day and he may just be right! I decided to help this guy out and write something quick for him. It basically makes list of every meta on the system and if it doesn’t have a storage group associate with it, prints it out. Simple concept, but I don’t know if an easier way to do it. [box] cincystorage@symcliserver scripts $ ./luns_without_sg.pl 9908 07BB,Unowned,400 07D8,Unowned,1800 0847,Unowned,500 0851,Unowned,500 085B,Unowned,500 087D,Unowned,500 0971,Unowned,750 [/box] Pretty simple and useful.Read More →