Skip to main content
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.
NetApp Knowledge Base

Can a volume junction-path be renamed?

Views:
3,485
Visibility:
Public
Votes:
1
Category:
ontap-9
Specialty:
core
Last Updated:

 

Applies to

  • Clustered Data ONTAP 8
  • ONTAP 9

Answer

Yes, the junction path to which a volume is mounted can be modified as follows: 

1. Check the current junction path of the volume:

::> volume show -vserver <vserver name> -junction
Vserver     Volume       Language        Active     Junction Path     Path Source
---------   ----------   ----------      -------    --------------    ---------------
nfs_vsvr    nfsroot       C.UTF-8           -             /                   -
nfs_vsvr    vol1          C.UTF-8         true           /vol1          RW_volume
nfs_vsvr    vol11         C.UTF-8         true          /vol1/vol11     RW_volume
nfs_vsvr    vol2          C.UTF-8         true          /vol2           RW_volume
            
4 entries were displayed.

 

2. Un-mount the volume whose junction path you wish to modify, for example vol2:

::> volume unmount -vserver nfs_vsvr -volume vol2

3. Mount it to the desired junction-path name:

::> volume mount -vserver nfs_vsvr -volume vol2 -junction-path /vol0 -active true -policy-override false

4. Verify the volume junction path has been modified:

::> volume show -vserver <vserver name> -junction

Vserver     Volume       Language        Active     Junction Path     Path Source
---------   ----------   ----------      -------    --------------    ---------------
nfs_vsvr    nfsroot       C.UTF-8           -             /                   -
nfs_vsvr    vol1          C.UTF-8         true           /vol1          RW_volume
nfs_vsvr    vol11         C.UTF-8         true          /vol1/vol11     RW_volume
nfs_vsvr    vol2          C.UTF-8         true          /vol0           RW_volume
            
4 entries were displayed.

 

Additional Information

NFS

NFS client needs to unmount the old exported path and mount the new exported path.

CIFS

  • The path cifs share using is not updated to the new junction-path automatically.
  • Delete the old share and create a new share with a new junction-path.

 

Scan to view the article on your device