Error exceeded disk quota despite the fact that they are disabled, and disk space is enough

风流意气都作罢 提交于 2019-12-11 17:55:25

问题


On CentOS has recently started to happen a strange thing - the user can not create files in its directory: [Deployer @ server ~] $ echo test> test.file -Bash: echo: write error: Disk quota exceeded

Although quotas had not been established: [Deployer @ server ~] $ quota Disk quotas for user deployer (uid 500): none

Disk space is sufficient: [Deployer @ server ~] $ df-h Filesystem Size Used Avail Use% Mounted on / Dev / vzfs 9.6G 6.9G 2.8G 72% / none 256M 4.0K 256M 1% / dev

Problems with inodes should not be: [Deployer @ server ~] $ df-i Filesystem Inodes IUsed IFree IUse% Mounted on / Dev / vzfs 10000000 130959 9869041 2% / none 65536 95 65441 1% / dev

Can you please tell what could be the problem?


回答1:


You have group quota also enabled for that user:

repquota -avug|grep username
repquota -avug|grep groupname

Edit quota for group:

edquota -g groupname


来源:https://stackoverflow.com/questions/5806028/error-exceeded-disk-quota-despite-the-fact-that-they-are-disabled-and-disk-spac

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!