adrienne_wong
on 4/10/07
Asked
We have a script that automates the split flex clone operation.
Once the script calls NetApp::SplitFlexClone, it sleeps and checks the status of the split periodically.
It does this by checking the error message string returned upon starting or
fetching the status with:
$napapi->volume_clone_split( $vol, "start" )
$napapi->volume_clone_split( $vol, "status" )
Indicate split operation has completed:
$napapi-> =~ /volume is not a clone/
Indicate split operation is in progress:
$napapi-> !~ /clone is in the process of being split/
Is there a way to find out the status of a split operation by checking some volume property rather than relying on the error message string?