Unsolved
This post is more than 5 years old
32 Posts
0
609
February 13th, 2009 14:00
Script for unattended fs_copy ?
I want to call a script from cron to:
unexport a filesystem
do an fs_copy
re-export the filesystem
I have some ideas on how to script it up, but I would like to see if there are any sterling examples or caveats that I can review first.
-John
unexport a filesystem
do an fs_copy
re-export the filesystem
I have some ideas on how to script it up, but I would like to see if there are any sterling examples or caveats that I can review first.
-John
No Events found!


JohnH4
32 Posts
0
February 13th, 2009 14:00
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
February 13th, 2009 14:00
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
February 13th, 2009 15:00
JohnH4
32 Posts
0
February 13th, 2009 15:00
I have done manually before, but would like to try scripting it for middle of night migration
I know there is replication technique, but it seems too complex and I'm not sure about the sequence of steps
-J
JohnH4
32 Posts
0
February 13th, 2009 15:00
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
1
February 14th, 2009 23:00
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
0
February 16th, 2009 08:00
Thats what I was looking for, just a sanity check on a scripting method.
I'll give that a go on a test fs and let you know.
If anyone else wants to add, I'm keeping the topic open for a while.
-John