ONTAP Discussions
ONTAP Discussions
Hi all,
I have two volumes in which there are several directories:
- vol1 (share name SHARE1):
/AppData
/Temp
- vol2 (share name SHARE2):
/Users
I would like to change the mount path of the second volume in order to have my directory Users visibles in the root of vol1:
- vol1:
/AppData
/Users
/Temp
But once I changed the mount path of vol2 and affect it to vol1, I see now in vol1:
/AppData
/SHARE2/Users
/Temp
How can I remove the share name of vol2 (SHARE2)? Is it possible?
Thank you.
you might want to check the junction path
You may also consider using symbolic links:
How to make symbolic links (widelinks) work for CIFS clients on Clustered Data ONTAP
Thank you @tahmad but junction path is the fonctionnality that I already use in this case.
Hello @AchilleAubert ;
Can you provide what does your junction-path looks like for each volume in question. Per example you can run the below command:
cluster::> vol show -volume vol1,vol2 -fields junction-path
Hello @hmoubara
Thank you for your reply.
Here is the output of the command:
cluster::> vol show -volume vol1,vol2 -fields junction-path
vserver volume junction-path
------- ------ ------------------
VSERVER vol1 /vol1
VSERVER vol2 /vol1/qtree_vol/vol2
2 entries were displayed.
Hello @AchilleAubert
Can you perform the below:
cluster::> vol unmount -vserver VSERVER -volume vol2
cluster::> vol mount -vserver VSERVER -volume vol2 -path /vol1/vol2
Thanks