ONTAP Hardware

Quota (and quota report) not working

JEREMY_CLUZEL

Hi,

I have a strange problem on my filer.
I created a Qtree "test" on a volume "VOLUME".
I also defined a "user quota" of 1GB/user and with a threshold of 800MB.
I checked the "/etc/quotas" file:

#Auto-generated by setup Fri Jun 29 17:36:20 GMT 2012

*       user@/vol/VOLUME/test     1048576K        -       819200K -       -


and everything seems OK.

But, the quota doesn't seem to apply. Moreover, the "quota report" command doesn't even show that the quota applies:

FAS2240> quota report /vol/VOLUME/test/JCL/File_1.exe

                                 K-Bytes             Files

Type       ID    Volume    Tree  Used      Limit     Used    Limit   Quota Specifier

----- -------- -------- -------- --------- --------- ------- ------- ---------------

quota: no quota for file /vol/VOLUME/test/JCL/File_1.exe.

Do I miss something ?

Thanks,

Regards,

Jeremy

1 ACCEPTED SOLUTION

You might want to turn off quotas on this volume and than turn them back on to force a "rebuild". running "quota status" will let you know when the quota rebuild has been completed.

View solution in original post

5 REPLIES 5

JEREMY_CLUZEL

James.Littlefield was right.
Thanks for all.
Regards,

Jeremy

James_Littlefield

Did you remember to turn quotas on this volume ("quota on VOLUME")?

Yes, quotas are already enabled on this volume.
They even seem to be effective on another qtree. FYI this another qtree is listed when I do a "quota report" command.

ogra

Well you are correct with the steps. However, if you haven't restarted the Quota services then the new change in the file will not come into effect.

You might want to turn off quotas on this volume and than turn them back on to force a "rebuild". running "quota status" will let you know when the quota rebuild has been completed.

View solution in original post

Announcements
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
Public