Hi,
i have trouble with NFS on a Volumen with quota on 8.1.4P4 7-Mode. Diskquota not work correct.
/etc/quota
testuser user@/vol/vol_test 1M
When testuser ist copy files 2x 512k (as sample) and will then copy one more file, quota works. The new file is 0k. BUT when testuser copy a 5MB single file (volume is empty), ontap give me a error: wafl.quota.user.exceeded:notice: uid 1004: disk quota on volume vol_test. What is the trick????
Uwe
You're trying to copy a 5MB file into a volume where your quota is 1MB?
.
On Dec 3, 2015, at 3:02 AM, Uwe Schenkel uwe.schenkel@t-online.de wrote:
Hi,
i have trouble with NFS on a Volumen with quota on 8.1.4P4 7-Mode. Diskquota not work correct.
/etc/quota
testuser user@/vol/vol_test 1M
When testuser ist copy files 2x 512k (as sample) and will then copy one more file, quota works. The new file is 0k. BUT when testuser copy a 5MB single file (volume is empty), ontap give me a error: wafl.quota.user.exceeded:notice: uid 1004: disk quota on volume vol_test. What is the trick????
Uwe
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
Hi Uwe,
one thing to keep in mind: we're working with 4K blocks here and with inodes (which also means directories). And then we have KB, MB, GB, KiB, MiB, GiB, ... and metadata in the volume. Don't try to be too exact.
If you have a 1024KB quota, try to copy 5 files each with 500KB. The third one should produce an error. And so on.
Sebastian
On 12/3/2015 12:02 PM, Uwe Schenkel wrote:
Hi,
i have trouble with NFS on a Volumen with quota on 8.1.4P4 7-Mode. Diskquota not work correct.
/etc/quota
testuser user@/vol/vol_test 1M
When testuser ist copy files 2x 512k (as sample) and will then copy one more file, quota works. The new file is 0k. BUT when testuser copy a 5MB single file (volume is empty), ontap give me a error: wafl.quota.user.exceeded:notice: uid 1004: disk quota on volume vol_test. What is the trick????
Uwe
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
You said /etc/quota when it should be /etc/quotas
If that was a typo in the email only, I was also thinking the same thing as Sebastian before reading his post. Try to put 150MB in 100MB or similar and see if you get different results, don’t be so exact to rule out the discrepancy being overhead somewhere/rounding or 1000 vs 1024
--Jordan
From: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net] On Behalf Of Uwe Schenkel Sent: Thursday, December 03, 2015 9:57 AM To: toasters@teaparty.net Subject: Re: Quota not work
You're trying to copy a 5MB file into a volume where your quota is 1MB? ==> Yes
when i copy smaller files quota works.
As sample my quota is 1MB and i test stupid copy a 5MB file on the volume. It copied the file correct. _______________________________________________ Toasters mailing list Toasters@teaparty.netmailto:Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters