Hello Otto, Wednesday, September 24, 2014, 2:36:58 PM, you wrote:
OM> Try to come up with a reproducable test case, include all relevant OM> info and then we can investigate. Here is what I could reproduce: root@mail1 ~ # quota test_spam Disk quotas for user test_spam (uid 1003): Filesystem KBytes quota limit grace files quota limit grace /var/mail 28 100000 1000000 8 10000 100000 root@mail1 ~ # dd if=/dev/random of=w00 bs=1M count=150 150+0 records in 150+0 records out 157286400 bytes transferred in 2.679 secs (58707553 bytes/sec) root@mail1 ~ # mv w00 ~test_spam/ root@mail1 ~ # chown test_spam /var/mail/test_spam/w00 root@mail1 ~ # quota test_spam Disk quotas for user test_spam (uid 1003): Filesystem KBytes quota limit grace files quota limit grace /var/mail 153660* 100000 1000000 18:10 9 10000 100000 root@mail1 ~ # edquota -t Time units may be: days, hours, minutes, or seconds Grace period before enforcing soft limits for users: /var/mail: block grace period: 30 days, file grace period: 30 days root@mail1 ~ # date Mon Sep 29 14:12:42 CDT 2014 root@mail1 ~ # rm /var/mail/test_spam/w00 root@mail1 ~ # quota test_spam Disk quotas for user test_spam (uid 1003): Filesystem KBytes quota limit grace files quota limit grace /var/mail 28 100000 1000000 8 10000 100000 root@mail1 ~ # date Mon Sep 29 18:47:44 CDT 2014 root@mail1 ~ # quota test_spam Disk quotas for user test_spam (uid 1003): Filesystem KBytes quota limit grace files quota limit grace /var/mail 28 100000 1000000 8 10000 100000 root@mail1 ~ # dd if=/dev/random of=~test_spam/w00 bs=1M count=150 150+0 records in 150+0 records out 157286400 bytes transferred in 2.059 secs (76367302 bytes/sec) root@mail1 ~ # chown test_spam /var/mail/test_spam/w00 root@mail1 ~ # quota test_spam Disk quotas for user test_spam (uid 1003): Filesystem KBytes quota limit grace files quota limit grace /var/mail 153660* 100000 1000000 13:31 9 10000 100000 root@mail1 ~ # rm /var/mail/test_spam/w00 root@mail1 ~ # quota test_spam Disk quotas for user test_spam (uid 1003): Filesystem KBytes quota limit grace files quota limit grace /var/mail 28 100000 1000000 8 10000 100000 root@mail1 ~ # date Tue Sep 30 08:38:03 CDT 2014 root@mail1 ~ # quota test_spam Disk quotas for user test_spam (uid 1003): Filesystem KBytes quota limit grace files quota limit grace /var/mail 28 100000 1000000 8 10000 100000 root@mail1 ~ # dd if=/dev/random of=~test_spam/w00 bs=1M count=150 150+0 records in 150+0 records out 157286400 bytes transferred in 2.074 secs (75822855 bytes/sec) root@mail1 ~ # chown test_spam /var/mail/test_spam/w00 root@mail1 ~ # quota test_spam Disk quotas for user test_spam (uid 1003): Filesystem KBytes quota limit grace files quota limit grace /var/mail 153660* 100000 1000000 none 9 10000 100000 root@mail1 ~ # rm /var/mail/test_spam/w00 root@mail1 ~ # quota test_spam Disk quotas for user test_spam (uid 1003): Filesystem KBytes quota limit grace files quota limit grace /var/mail 28 100000 1000000 8 10000 100000 root@mail1 ~ # dmesg | head OpenBSD 5.4-stable (GENERIC.MP) #3: Wed Apr 2 16:44:04 CDT 2014 r...@build32.twopoint.com:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Xeon(R) CPU 3060 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF real mem = 3621744640 (3453MB) avail mem = 3551121408 (3386MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf0000, SMBIOS rev. 2.3 @ 0xee000 (47 entries) bios0: vendor HP version "W04" date 04/06/2007 bios0: HP ProLiant DL320 G5 I've also started the "test" case on another computer (turned on user quotas and created a new user) - everything starts unfolding the same way: # quota test Disk quotas for user test (uid 1002): Filesystem KBytes quota limit grace files quota limit grace /wrk 4 100000 1000000 1 10000 100000 # dd if=/dev/random of=/wrk/test/w00 bs=1M count=150 150+0 records in 150+0 records out 157286400 bytes transferred in 14.572 secs (10793030 bytes/sec) # chown test /wrk/test/w00 # quota test Disk quotas for user test (uid 1002): Filesystem KBytes quota limit grace files quota limit grace /wrk 153636* 100000 1000000 7days 2 10000 100000 # rm /wrk/test/w00 # quota test Disk quotas for user test (uid 1002): Filesystem KBytes quota limit grace files quota limit grace /wrk 4 100000 1000000 1 10000 100000 # date Mon Sep 29 14:45:05 CDT 2014 # date Tue Sep 30 08:31:24 CDT 2014 # quota test Disk quotas for user test (uid 1002): Filesystem KBytes quota limit grace files quota limit grace /wrk 4 100000 1000000 1 10000 100000 # dd if=/dev/random of=/wrk/test/w00 bs=1M count=150 150+0 records in 150+0 records out 157286400 bytes transferred in 15.199 secs (10347992 bytes/sec) # quota test Disk quotas for user test (uid 1002): Filesystem KBytes quota limit grace files quota limit grace /wrk 4 100000 1000000 1 10000 100000 # chown test /wrk/test/w00 # quota test Disk quotas for user test (uid 1002): Filesystem KBytes quota limit grace files quota limit grace /wrk 153636* 100000 1000000 6days 2 10000 100000 # rm /wrk/test/w00 # quota test Disk quotas for user test (uid 1002): Filesystem KBytes quota limit grace files quota limit grace /wrk 4 100000 1000000 1 10000 100000 # edquota -t Time units may be: days, hours, minutes, or seconds Grace period before enforcing soft limits for users: /wrk: block grace period: 0 days, file grace period: 0 days # dmesg | head OpenBSD 5.4-stable (GENERIC.MP) #1: Mon Mar 31 17:18:27 CDT 2014 r...@build32.twopoint.com:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Xeon(R) CPU E5335 @ 2.00GHz ("GenuineIntel" 686-class) 2.01 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,TM2,SSSE3,CX16,xTPR,PDCM,DCA,LAHF,PERF real mem = 3487444992 (3325MB) avail mem = 3419013120 (3260MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf0000, SMBIOS rev. 2.4 @ 0xee000 (68 entries) bios0: vendor HP version "P58" date 05/18/2009 bios0: HP ProLiant DL360 G5 Please let me know if you need some other (specific) information. I can't be sure what is relevant. -- Best regards, Boris mailto:bo...@twopoint.com