Why is there no difference for field 'logical-available' in 'vol show' and 'vol show-space' when logical space reporting is enabled?
Applies to
- ONTAP 9.4 and later
Answer
By default, we only populate logical-available
when logical reporting is enabled on the volume:
::> vol show -volume vol1 -fields is-space-reporting-logical
vserver volume is-space-reporting-logical
------- ------ --------------------------
svm1 vol1 false
::> vol show -volume vol1 -fields logical-available
vserver volume logical-available
------- ------ -----------------
svm1 vol1 -
::> vol show -volume vol1 -fields is-space-reporting-logical
vserver volume is-space-reporting-logical
------- ------ --------------------------
svm1 vol1 true
fas8200-2n-ams-1::> vol show -volume vol1 -fields logical-available
vserver volume logical-available
------- ------ -----------------
svm1 vol1 475.0GB
The vol show-space
command will give back logical-available
regardless if logical space reporting is enabled:
::> vol show -volume vol1 -fields is-space-reporting-logical
vserver volume is-space-reporting-logical
------- ------ --------------------------
svm1 vol1 false
::> vol show-space -volume vol1 -fields logical-available
vserver volume logical-available
------- ------ -----------------
svm1 vol1 475.0GB
Values are populated with correct data. Showing logical-available
through vol show-space
command is not intended and will be fixed in future releases.
Additional Information