How to find volume name using UNC path
Applies to
- ONTAP 9
- CIFS/SMB
Answer
- Share is accessible using UNC path "\\10.x.x.x\Share_name"
- Run the below command to find the volume path
::> vserver cifs share show -vserver <vserver_name> -share-name <Share_name> -fields path
- Determine the Volume name by running the below command on share path received on step 2
::> vol show -vserver svm_cifs_file -junction-path <Share_path>