Error when creating a junction path: /vol/volname or mounting a volume to the path: /vol/volname
Applies to
- ONTAP 9
- SnapMirror
Issue
This error can occur in either of these scenarios -- Choose the scenario that is the closest match:
Volume create/mount
Creating a volume with a junction path /vol/volname
, or mounting a volume to a junction /vol/volname
, results in the error failed to create or determine if a junction exists...
Example:
cluster1::*> volume mount -vserver vol -volume vol1 -junction-path /vol/vol1
Queued private job: 588
Error: command failed: Failed to create or determine if a junction exists
within volume 'root_vol'. Error occurred with the remaining junction
path of '/vol/vol1' for the given path of '/vol/vol1' Reason:
Junction create failed (2).
Note: Creating or mounting junctions to /volname
works fine.
-OR-
SVM-DR initialization fails with the error
Last Transfer Error: Failed to apply the source Vserver configuration. Reason: Apply failed for Object: root_direct_mounts Method: baseline. Reason: Failed to create or determine if a junction exists within volume "dst_SVM_Root_Vol". Error occurred with the remaining junction path of "/vol/dst_vol" for the given path of "/vol/dst_vol" Reason: Junction create failed (2).
Execute "snapmirror show -destination-vserver dst_svm -fields last-transfer-error,unhealthy-reason -expand" to check if the constituent volumes have encountered errors.