Supposedly you can attach/create a QoS policy to a qtree right when you create the Qtree:
https://library.netapp.com/ecmdocs/ECMLP2879970/html/resources/qtree.html#qtree-qos-policy
This is almost exactly what the RESTful API documentation claims, yet it seems to be completely ignored. Tried it out, no trace of an auto-created QoS policy...
From the documentation:
curl -X POST 'https://<mgmt-ip>/api/storage/qtrees?return_records=true' -H 'accept: application/hal+json' -d @test_qtree_post.txt
test_qtree_post.txt(body):
{
"svm": {
"name": "svm1"
},
"volume": {
"name": "fv"
},
"name": "qt1",
"security_style": "unix",
"user": {
"name": "unix_user1"
},
"group": {
"name": "unix_group1"
},
"unix_permissions": 744,
"export_policy": {
"name": "default"
},
"qos_policy": {
"max_throughput_iops": 1000
}
}
The response supposedly:
...
"qos_policy": {
"min_throughput_iops": 0,
"min_throughput_mbps": 0,
"max_throughput_iops": 1000,
"max_throughput_mbps": 0,
"uuid": "39ac471f-ff35-11e9-b0f9-005056a7ab52",
"name": "vs0_auto_gen_policy_39a9522f_ff35_11e9_b0f9_005056a7ab52"
},
Actually - using a call very much like the in the documentation - no trace of the whole "qos_policy" branch... and no trace of any QoS policy applied or created on the CLI.
Is this a documentation error, or is there some prerequisites I did not fulfill (e.g. NFS was not enabled in my SVM)?
9.10.1P4 in our lab...
🧐
Copyright © 2022 NetApp Inc.
All rights reserved …