Hello Jürgen
Thanks for your feedback!
This is exactly what I did:
PS Y:\> Connect-NaController vfiler_test
Name Address Ontapi Version
---- ------- ------ -------
vfiler_test 192.168.14.13 1.19 NetApp Release 8.1.2P4 7-Mode: Fri Apr 26 19:57:25 PDT 2013
PS Y:\> Get-NaQtree snapvault1
Volume Qtree Status Security OpLocks
------ ----- ------ -------- -------
snapvault1 normal ntfs enabled
snapvault1 snapvault_01 normal ntfs enabled
PS Y:\> Add-NaCifsShare -Share test -Path /vol/snapvault1/snapvault_01
Add-NaCifsShare : Directory "/vol/snapvault1/snapvault_01" does not exist.
Bei Zeile:1 Zeichen:16
+ Add-NaCifsShare <<<< -Share test -Path /vol/snapvault1/snapvault_01
+ CategoryInfo : InvalidOperation: (vfiler_test:NaController) [Add-NaCifsShare], EONTAPI_EINVAL
+ FullyQualifiedErrorId : ApiException,DataONTAP.PowerShell.SDK.Cmdlets.Cifs.AddNaCifsShare
If I remove the volume from the vfiler_test to vfiler0, the command is working properly:
PS Y:\> Connect-NaController filer1
Name Address Ontapi Version
---- ------- ------ -------
filer1 192.168.14.10 1.19 NetApp Release 8.1.2P4 7-Mode: Fri Apr 26 19:57:25 PDT 2013
PS Y:\> Add-NaCifsShare -Share test -Path "/vol/snapvault1/snapvault_01" -Comment "test"
MountPoint ShareName Description
---------- --------- -----------
/vol/snapvault1/snapvault_01 test test
Thanks for help,
kind regards,
Martin