问题描述
在CentOS上最近开始发生一个奇怪的事情 - 用户不能在其目录中创建文件:
[Deployer @ server〜] $ echo test> test.file
-Bash:echo:写错误:超过磁盘配额
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
虽然配额尚未建立:
[Deployer @ server〜] $ quota
用户部署的磁盘配额uid 500):none
Although quotas had not been established:[Deployer @ server ~] $ quotaDisk quotas for user deployer (uid 500): none
磁盘空间已满:
[Deployer @ server〜] $ df-h
文件系统大小已用可用使用% on
/ Dev / vzfs 9.6G 6.9G 2.8G 72%/
无256M 4.0K 256M 1%/ dev
Disk space is sufficient:[Deployer @ server ~] $ df-hFilesystem Size Used Avail Use% Mounted on/ Dev / vzfs 9.6G 6.9G 2.8G 72% /none 256M 4.0K 256M 1% / dev
不是:
[Deployer @ server〜] $ df-i
文件系统Inodes IUsed IFree IUse%装载在
/ Dev / vzfs上10000000 130959 9869041 2%/
无65536 95 65441 1%/ dev
Problems with inodes should not be:[Deployer @ server ~] $ df-iFilesystem 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?
推荐答案
您还为该用户启用了群组配额:
You have group quota also enabled for that user:
repquota -avug|grep username
repquota -avug|grep groupname
编辑组的配额:
edquota -g groupname
这篇关于超出磁盘配额的错误,尽管它们已禁用,并且磁盘空间已足够的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!