We're trying to do a simple qtree create. I've attached the simple script that we are using to do the create. The script outputs this:
qtree: is on svm_villa_rootvol with status normal
qtree: is on fahome with status normal
qtree: username is on fahome with status normal
qtree: is on dusers with status normal
qtree: is on svm_villa_rootvol_lsm01 with status readonly
qtree: is on svm_villa_rootvol_lsm02 with status readonly
Unable to find API: qtree-create
It appears that qtree-list-iter is supported, but qtree-create is unsupported in the current version? I'm looking at the OntapClusterAPI.html document for the documentation of the api, and it has documentation for qtree-create. (Also the api bindings have underscores separating the words, and we've found that you have to use dashes.)
Any info you can get us would be appreciated. Thanks!
The likely cause is that you're running this script against the cluster management LIF rather than a Vserver. The qtree-create API is a Vserver API in cDOT, so you need to either a) point your script at a Vserver management LIF, or b) use Vserver tunneling with the NaServer.set_vserver() method.
Let me know if you have any trouble getting it working.