Vol modify command gives out an error on thin provisioned lun
Applies to
- ONTAP 9
- Space Efficiency/ Space Accounting
Issue
percent-snapshot-space
in a single large chunk while increasing to the same target value in small steps workscluster2::*> df -A -h aggr1
Aggregate total used avail capacity
aggr1 28GB 40MB 28GB 0%
aggr1/.snapshot 0B 0B 0B 0%
2 entries were displayed.
cluster2::*> vol create -vserver svm1 -space-guarantee none -percent-snapshot-space 0 -volume test -aggregate aggr1 -size 100g
.
cluster2::*> vol modify -vserver svm1 -volume test -percent-snapshot-space 99
Error: command failed: Unable to set volume attribute "percent-snapshot-space" for volume "test" on Vserver "svm1". Reason: Insufficient space on volume "test" to complete operation.
cluster2::*> vol modify -vserver svm1 -volume test -percent-snapshot-space 50
Error: command failed: Unable to set volume attribute "percent-snapshot-space" for volume "test" on Vserver "svm1". Reason: Insufficient space on volume "test" to complete operation.
cluster2::*> vol modify -vserver svm1 -volume test -percent-snapshot-space 40
Error: command failed: Unable to set volume attribute "percent-snapshot-space" for volume "test" on Vserver "svm1". Reason: Insufficient space on volume "test" to complete operation.
cluster2::*> vol modify -vserver svm1 -volume test -percent-snapshot-space 10
Volume modify successful on volume test of Vserver svm1.
cluster2::*> vol modify -vserver svm1 -volume test -percent-snapshot-space 20
Volume modify successful on volume test of Vserver svm1.
cluster2::*> vol modify -vserver svm1 -volume test -percent-snapshot-space 30
Volume modify successful on volume test of Vserver svm1.
cluster2::*> vol modify -vserver svm1 -volume test -percent-snapshot-space 40
Volume modify successful on volume test of Vserver svm1.
cluster2::*> vol modify -vserver svm1 -volume test -percent-snapshot-space 50
Volume modify successful on volume test of Vserver svm1.
cluster2::*> vol modify -vserver svm1 -volume test -percent-snapshot-space 90
Error: command failed: Unable to set volume attribute "percent-snapshot-space" for volume "test" on Vserver "svm1". Reason: Insufficient space on volume "test" to complete operation