Microsoft Virtualization Discussions

Disk Limit results differ from get-ncquota and get-ncquotareport


I am trying to have two basic functions: to query a given quota and to modify that same quota.
However, the resulting output does not seem to match


If I run the query command [GET-NCQUOTAREPORT] it returns this value.


QuotaType    QuotaTarget      Volume      Qtree      DiskUsed      FilesUsed      Vserver
---------           -----------              ------          -----       --------             ---------             -------
tree                /vol/test/test        test           test        8                    3                     vserver1


If I query it differently [GET-NCQUOTA] I get this returned:


QuotaType      QuotaTarget      Volume      Qtree      DiskLimit      FileLimit      Vserver
---------             -----------             ------           -----        ---------         ---------           -------
tree                 /vol/test/test test 1048576                  1048576               -          vserver1

If I modify [SET-NCQUOTA] the console output is the following:


QuotaType      QuotaTarget      Volume      Qtree      DiskLimit      FileLimit      Vserver
---------             -----------             ------           -----          ---------         ---------         -------
tree                  /vol/test/test      test                            1048576      -                   vserver1


QuotaTarget : /vol/test/test

Qtree : test
DiskUsed : 8
DiskLimit : 5120


As you can see the value of disk limit differs between the two. Why is this and how can I adjust the query/modify commands so that it reflects the correct disk limit information which shows correctly when viewing the disk limit in the GUI interface?

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner