Hello,
So, I managed to create the volumes I need and the order I use is the following:
- Create export policies for my client
- Create "standard" Volumes for NFS export. Junction is defined
- Select a predefined schedule for a SnapLock volume
- Create the SnapLock volume
- Create SnapMirror for SnapLock volumes
- Wait for SnapMirror destination to reach idle state
HOWEVER, every now and then (and way more often than we would like, when we try to mount the NFS exports, we have failures. And those failures are after almost 15' of waiting and retries etc.
If we rerun the jobs, let's say 10 minutes everything is OK.
Which brings me back to the very basic question.
How can I be 100% sure that my newly created volumes are ready for consumption from their intended clients?
My plan is to use the netapp.ontap.na_ontap_rest_info: and ask for the state (looking for the online value).
Is that enough?
Or do I also need the junction path? And how do I get the junction path?