Did you create that "sharename" as a directory, under the FS?. If not, create using the hidden c$ share first (or create the cifs share as "/" root of the FS and then create a dir).
uemcli cannot create that sharename as a directory, as it can export only what is there.
Was your question answered correctly? If so, please remember to mark your question Answered when you get the correct answer and award points to the person providing the answer. This helps others searching for a similar issue.
maniemc
169 Posts
2598
0
Posted May 1st, 2017 17:00
Example :
00:16:44 service@spa:~> uemcli -no /stor/prov/fs create -name fs02 -server nas_34 -pool pool_2 -size 3G -type cifs
ID = res_82
Operation completed successfully.
00:17:51 service@spa:~> uemcli -no /stor/prov/fs/cifs create -name sharefs01 -fs res_82 -path /fs02
Operation failed. Error code: 0x900a002
The system could not find the specified path. Please use an existing path. (Error Code:0x900a002)
Job ID = N-2687
00:18:23 service@spa:~> uemcli -no /stor/prov/fs/cifs create -name sharefs01 -fs res_82 -path /
ID = SMBShare_76
Operation completed successfully.
After creating the /fs02 under the FS by accessing the above mapping :
00:26:51 service@VIRT1647BL5L3F-spa spa:~> uemcli -no /stor/prov/fs/cifs create -name sharefs02 -fs res_82 -path /fs02
ID = SMBShare_77
Operation completed successfully.