When creating flexgroup through the command:
"vol create -vserver vserver1-volume fg1 -aggr-list aggr01,aggr02 -size 1g -state online -policy default -unix-permissions ---rwxrwxrwx -type RW -snapshot-policy none -junction-path /fg1 -percent-snapshot-space 0 -space-guarantee volume -autosize-mode off -aggr-list-multiplier 1 -comment TEST"
this can create a fg with size 1GB after type yes to the warning.
then,
I tried to use the API with the following request body:
"{
"comment": "TEST",
"name": "fg1",
"size": 1073741824,
"state": "online",
"tiering": {
"policy": "none"
},
"constituents_per_aggregate": 1,
"type": "rw",
"autosize": {
"mode": "off"
},
"aggregates.name": [
"aggr01",
"aggr02"
],
"guarantee": {
"type": "volume"
},
"language": "c.utf_8",
"nas": {
"export_policy": {
"name": "default"
},
"path": "/fg1",
"security_style": "unix",
"unix_permissions": 777
},
"snapshot_policy": {
"name": "none"
},
"space": {
"snapshot": {
"reserve_percent": 0
}
},
"svm": {
"name": "vserver1"
}
}"
I get the job with the following error:
message": "Size "1GB" ("1073741824B") is too small. Minimum size is "200GB" ("214748364800B").
Is there way to pass the warning check?