This post is more than 5 years old
63 Posts
0
1087
March 4th, 2012 22:00
Create dev generating symdevs inbetween devices
Hi , I got DMX4 and got TDEV's & TDAT's on it. I am supposed to run all symconfigure post prod hours so I use to create all "create dev , meta create , map dev" commands beforehand and run them after prod hours. I use to pick up next TDEV by checking last dev name in output of command "symdev list -tdev -sid XXXX " . if the last tdev in output of above command is 1111 then I use to create all my work using next tdev 1112. This use to work for me till last month. Last month we added few TDATS and deleted few devs. Which has created GAP in symdev numbering. Now whenever I run next symconfigure is gives me next TDEV as any inbetween SYMDEV name and all my work is getting void.
Is there any was i can guess the next TDEV before hand ?? OR can I use any option in " create tdev command " so that the new TDEV will be starting by specified symdev name.
Any help appreciated.
FYI .. I am not supposed to run symconfigure preview/prepare in prod hours , otherwise i would have come to know the next symdev number.
symcli version is 7.2
Regards
Sandeep..
dynamox
9 Legend
•
20.4K Posts
0
March 5th, 2012 13:00
unless something changed, if you delete 5 devices and then turn around and try to create 10 devices, regardless of the size ..the new devices will be created using brand new symdev ids ..they will not reuse the gaps created by deleted devices. In order to re-used the gaps, you have to create exactly the number of devices as the gaps. There was a script on PowerLink that you could run and it would tell you how many symdev id gaps are there and you could create symconfigure script that would create the exact number of devices if you wanted to avoid symdev id gaps.
dynamox
9 Legend
•
20.4K Posts
0
March 5th, 2012 04:00
You cant control device names that get picked. So you cant even run symconfigure prepare?
RobertDudley
2 Intern
•
448 Posts
0
March 5th, 2012 09:00
Gaps are filled anytime you create a number of devices that is equal to or smaller than the gap.
As dynamox alluded to the prepare doesnt actually do anything.
preview - syntax check of command
prepare - syntax check and simulation run on service processor
commit - does everything and makes change
if you are allowed to run the prepare it will give you a listing of the devices it wil create by symmvol number, run the prepare with the -v for verbose option.
PedalHarder
3 Apprentice
•
465 Posts
0
March 5th, 2012 13:00
As I understand it, the gaps created by deleting symdevs will get reused, provided the newly created devices are the same size or smaller than the devices that were deleted. The new devices will re-use the track tables in cache if they fit(and therefore reuse the symdev numbers), otherwise they are added after the last device.