Do LUNs created with ONTAP CLI or REST API always match the specified size?
Applies to
ONTAP 9
Answer
No, behavior differs between legacy ONTAPI (ZAPI) and current ONTAP implementations:
- Legacy ONTAPI (ZAPI)
- LUN size may be slightly larger than the requested size
- Adjustment performed to align with SAN geometry (cylinder boundaries)
- Current ONTAP (CLI and REST API)
- LUN is typically created exactly at the specified size
- Cylinder-based geometry alignment is not part of current implementation assumptions
- Risks and considerations when resizing an unused and unmapped LUNs:
- No data loss risk (no data present)
- No active host interaction
- Resize operations (including shrink) are generally safe
Additional Information
additionalInformation_text
