Why do "volume show" and the REST call GET /api/storage/volumes return a different number of volumes?
Applies to
- ONTAP 9
- REST API
Answer
The REST API call does not return some types of volumes by default:
- SVM root volumes
- Metadata volumes
For example:
vol0
MDV_aud_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
MDV_CRS_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX