ONTAP Discussions

Start-NcQuotaResize not applying new user quota rules on ONTAP 9.15.1

Suprimeco
109 Views

Hi NetApp Community,

We're encountering an issue where newly added user quota rules are not being enforced after executing the Start-NcQuotaResize cmdlet. This is impacting our operations, especially as we're expanding services to additional regions.

Environment Details:

  • ONTAP Version: 9.15.1

  • SVM: [SVM_NAME]

  • Volume: [VOLUME_NAME]

  • Quota Policy: [POLICY_NAME](NetApp Knowledge Base)

Issue Description:

After creating a new user quota rule using the following command:

volume quota policy rule create -vserver [SVM_NAME] -policy-name [POLICY_NAME] -volume [VOLUME_NAME] -type user -target [USERNAME] -disk-limit 10GB

 

We execute:

Start-NcQuotaResize -Volume [VOLUME_NAME]

 

However, the new quota rule does not appear to be enforced. The volume quota report does not reflect the new user quota, and the user is not restricted as expected.

Troubleshooting Steps Taken:

  • Verified that the quota rule exists using volume quota policy rule show.

  • Attempted to reinitialize quotas by turning them off and on:

    volume quota off -vserver [SVM_NAME] -volume [VOLUME_NAME]
    volume quota on -vserver [SVM_NAME] -volume [VOLUME_NAME]

 

This method enforces the new quota but is disruptive and not ideal for our production environment.

Additional Observations:

  • The issue seems to occur when a new quota rule is added for a user who did not previously have a quota.

  • We have introduced delays (e.g., Sleep 10) between commands to allow the system to process previous operations, but the issue persists.

  • Error messages such as "The specified qtree does not exist" have been observed, even though the qtree is present.

Questions:

  1. Is there a known issue with Start-NcQuotaResize not applying new user quota rules in ONTAP 9.15.1?

  2. Are there alternative methods to enforce new quota rules without reinitializing quotas?

  3. Could this behavior be related to a bug or a change in quota management in recent ONTAP versions?

Any insights or suggestions would be greatly appreciated.

Thank you!

 
0 REPLIES 0
Public