Can Trident volumes be moved between aggregates in storage cluster non-disruptively?
Applies to
NetApp Astra Trident
Answer
Yes:
- Storage administrators have the ability to move volumes between aggregates and controllers in the ONTAP cluster non-disruptively to the storage consumer
- This operation does not affect Trident or the Kubernetes cluster, as long as the destination aggregate is one which the SVM Trident is using has access to
::>vserver show -vserver nfs_svm -fields aggr-list
vserver aggr-list
------- -----------
nfs_svm aggr1,aggr2
Add aggr3 to the SVM aggr-list:
::>vserver modify -vserver nfs_svm -aggr-list aggr1,aggr2,aggr3
- If aggregate has been newly added to the SVM, the backend will need to be “refreshed” by re-adding it to Trident using the Trident backend update command, shown in this example:
$ tridentctl update backend <backend-name> -f <backend.json> -n trident
Additional Information
- Handling Backend Operations - Updating a Backend
- The result of
volume move
is not reflected inpool
intridentctl get
volume
, but this is no problem.
Example:
# tridentctl get volume -n trident -o yaml
items:
- Config:
...
orphaned: false
pool: aggr1
state: ""
...