since you have done it manually ..it's really just a matter of putting your command in a file and maybe using variable names instead of hard coding file system names, for example:
Unfortunately Celerra developers refuse to release error codes so it's nearly impossible to take actions within the script based on error codes. For example if there is a snapsure process in progress, it will not allow you to take a snapshot until the one running completes. Checking $? value does not help a lot. I submitted an RFE to get error codes from Celerra developers two years ago...still waiting.
JohnH4
32 Posts
305
0
Posted February 13th, 2009 14:00