加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – 当磁盘上有5GB的可用空间时,为什么我从postfix获得“写

发布时间:2020-12-13 16:50:39 所属栏目:Linux 来源:网络整理
导读:它开始发生在今天…突然间,没有明显的原因! 这是df的输出: assp:~# df -kFilesystem 1K-blocks Used Available Use% Mounted on/dev/simfs 6291456 1378384 4913072 22% /tmpfs 8202680 0 8202680 0% /lib/init/rwtmpfs 8202680 0 8202680 0% /dev/shmassp
它开始发生在今天…突然间,没有明显的原因!

这是df的输出:

assp:~# df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/simfs             6291456   1378384   4913072  22% /
tmpfs                  8202680         0   8202680   0% /lib/init/rw
tmpfs                  8202680         0   8202680   0% /dev/shm

assp:~# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/simfs           55781934   83005 55698929    1% /
tmpfs                2050670       2 2050668    1% /lib/init/rw
tmpfs                2050670       1 2050669    1% /dev/shm

assp:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/simfs            6.0G  1.4G  4.7G  22% /
tmpfs                 7.9G     0  7.9G   0% /lib/init/rw
tmpfs                 7.9G     0  7.9G   0% /dev/shm

这是/var/log/mail.warn的实际条目:

Dec 11 17:55:37 assp postfix/smtpd[30614]: warning: not enough free space in mail queue: 0 bytes < 1.5*message size limit
Dec 11 17:55:37 assp postfix/cleanup[30617]: warning: 4361D850D54: write queue file: No space left on device

.

解决方法

您可能想要运行df-i以查看是否已用尽所有 inodes.

您可以拥有可用的存储空间,但无法添加文件.

cache:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             132G   68G   58G  55% /
cache:~# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda1            17514496 13543293 3971203   78% /

您还可能需要检查是否设置了配额(repquota -va).

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读