API - share snapshot via nas
Hello,
The DSS GUI allows me to start a snapshot and share the contents of it by setting up a nas share and point to the snapshot volume.
When i try to accomplish the same thing with the API it says "Wrong volume specified, or destination volume doesn't exist". Does anybody have any idea?
[root@localhost class]# ssh -i keyfile -2 -p 22223 -l api 10.0.0.201 "nas_share_create snapshot snap00000 blaat"
Wrong volume specified, destination volume doesn't exist. Please create logical volume first.
Sharing an lv works fine:
[root@localhost class]# ssh -i keyfile -2 -p 22223 -l api 10.0.0.201 "nas_share_create lv lv0000 blaat"
[root@localhost class]#
Anybody any clue if it is me or the api? :)
Best regards,
Eddy