Skip to main content
NetApp Knowledge Base

quota disk limit size reflected on Windows OS is not correct

Views:
265
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:
5/22/2024, 9:35:42 AM

Applies to

ONTAP 9

Issue

quota disk limit size reflected on Windows is not correct if quota disk limit size is larger than volume size.
  • Before (quota disk limit size is less than volume size) :


lccls9111001::> vol show -volume vol1
Vserver   Volume       Aggregate    State      Type       Size  Available Used%
--------- ------------ ------------ ---------- ---- ---------- ---------- -----
svm9111001
          vol1         aggr1        online     RW        200MB    164.8MB   13%

lccls9111001::> quota report
Vserver: svm9111001

                                    ----Disk----  ----Files-----   Quota
Volume   Tree      Type    ID        Used  Limit    Used   Limit   Specifier
-------  --------  ------  -------  -----  -----  ------  ------   ---------

vol1     q1        tree    1
                                  20.12MB  100MB      10     420   q1

quota disk limit size reflected on Windows OS is not correct

  • After  (quota disk limit size is modified to be larger than volume size) :

lccls9111001::>  quota policy rule show

Vserver: svm9111001        Policy: default           Volume: vol1

                                               Soft             Soft
                         User         Disk     Disk   Files    Files
Type   Target    Qtree   Mapping     Limit    Limit   Limit    Limit  Threshold
-----  --------  ------- -------  --------  -------  ------  -------  ---------
tree   q1        ""      -           100MB        -       -        -          -

 

lccls9111001::> quota policy rule modify -vserver svm9111001 -policy-name default -volume vol1 -type tree -target q1 -qtree "" -disk-limit 400M

lccls9111001::>  quota resize -volume vol1
[Job 1537] Job is queued: "quota resize" performed for quota policy "default" on volume "vol1" in Vserver "svm9111001".

lccls9111001::>  quota report
Vserver: svm9111001

                                    ----Disk----  ----Files-----   Quota
Volume   Tree      Type    ID        Used  Limit    Used   Limit   Specifier
-------  --------  ------  -------  -----  -----  ------  ------   ---------

vol1     q1        tree    1
                                  20.12MB  400MB      10     420   q1


quota disk limit size reflected on Windows OS is not correct

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.