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

karteekchalla

New Member
Joined
Apr 19, 2020
Messages
1
Reaction score
0
Credits
0
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 exceeded
 
Last edited:

Staff online

Members online


Latest posts

Top