we are running into the following problem when testing the NetApp Plug-in for Oracle RMAN hosting databases on a clustered ONTAP setup:
We are using the plugin to duplicate an exising database and then present it to a host. This involves a volume clone operation on the NetApp storage, followed by a mount of the cloned volume on the host before it is able to mount the duplicated/cloned database.
However, we are following best practices on our clustered ONTAP setup, which means we have created load sharing replica volumes of the SVMs root volume across all the nodes in the cluster.
because the LS mirrors of the root volume haven't received the information about the new volume in the namespace yet.
This is the specific error message that is logged in sbtio.log:
SBT-23806 07/06/15 10:37:59 popen_cmd: The command failed to exectue error=mount.nfs: mounting vsnasnp02-473-1:/TAG20150706T103756_NetApp_clone_x_01qb261m_6_1_20150702172822_CL failed, reason given by server: No such file or directory
If we wait a number of minutes and then execute the mount manually (by then the LS mirrors of the root volume have received
the updates in the namespace), it works without problems.
I think the best solution that the author of this plugin could implement for clustered ONTAP setups is to perform the mount with the /.admin/ prefix so the cluster is forced to go to the real root volume of the SVM: