Article 52BPQ Quota doesn't report any warning even if the soft limit is crossed. Only reports the warning for hard limit

Quota doesn't report any warning even if the soft limit is crossed. Only reports the warning for hard limit

by
karteekchalla
from LinuxQuestions.org on (#52BPQ)
Disk quota is working only for hard limit. I am not getting any warning message when the size is crossing the soft limit.

any suggestions ??

I have enable user Quota on /export/home shared folder in NFS server and created the user limit. In the NFS client as a user "test" whose home folder is hosted on NFS server under /export/home/test tried checking the limits.

server:~# uname -a
Linux nas-new01 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux

server:~# quota -v 57411
Disk quotas for user #57411 (uid 57411):
Filesystem blocks quota limit grace files quota limit grace
/dev/sdb 8 1024 2048 3 0 0

client:~>pwd
/home/test

client:~> id -u
57411

client:~> du -shc
8.0K .
8.0K total

client:~> dd if=/dev/zero of=file1.txt bs=1024K count=1
1+0 records in
1+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.02055 s, 51.0 MB/s

client:~> du -shc
1.1M .
1.1M total

client:~> dd if=/dev/zero of=file2.txt bs=512K count=1 ****<<<< Crossed soft limit. But no warning****
1+0 records in
1+0 records out
524288 bytes (524 kB, 512 KiB) copied, 0.012272 s, 42.7 MB/s

client:~> du -shc
1.6M .
1.6M total

client:~> dd if=/dev/zero of=file3.txt bs=1024K count=2
dd: closing output file 'file3.txt': Disk quota exceededlatest?d=yIl2AUoC8zA latest?i=EQnpDIfF7u0:ZFDrXg0riQ8:F7zBnMy latest?i=EQnpDIfF7u0:ZFDrXg0riQ8:V_sGLiP latest?d=qj6IDK7rITs latest?i=EQnpDIfF7u0:ZFDrXg0riQ8:gIN9vFwEQnpDIfF7u0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments