【问题标题】:df -i and df-h , my server full weird issue [closed]df -i 和 df-h ,我的服务器完全奇怪的问题[关闭]
【发布时间】:2016-04-16 12:40:14
【问题描述】:

我使用 df-i 时有以下输出

Filesystem                         Inodes    IUsed     IFree IUse% Mounted on
/dev/sda3                        17465344 17400194     65150  100% /
none                              3085175        2   3085173    1% /sys/fs/cgroup
udev                              3082347      440   3081907    1% /dev
tmpfs                             3085175      409   3084766    1% /run

然后当我 df -h

root@Ubuntu-1404-trusty-64-minimal /var/www/html/manga # df -h
Filesystem                       Size  Used Avail Use% Mounted on
/dev/sda3                        263G   67G  183G  27% /
none                             4.0K     0  4.0K   0% /sys/fs/cgroup
udev                              12G  4.0K   12G   1% /dev
tmpfs                            2.4G  644K  2.4G   1% /run

问题是 df -i ,它返回 100% 满,导致我的 apache2 &mysql 无法重新启动或由于磁盘空间不足而无法正常工作。知道如何在 df -i 上增加 /dev/sda3 的大小,因为我的 df -h 显示我只使用了同一个地方的 67%。

谢谢

【问题讨论】:

标签: linux ubuntu


【解决方案1】:

您的问题与 python 无关。您的文件系统已满文件,并且 inode 已用尽。

这些问题与您的问题有关:https://unix.stackexchange.com/questions/26598/how-can-i-increase-the-number-of-inodes-in-an-ext4-filesystemhttps://serverfault.com/questions/593298/how-to-increase-inodes

对不起我的英语,比我很久以前不写英文了。

这不是正确答案,可能是评论,但我不允许制作 cmets。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-03-12
    • 1970-01-01
    • 2010-09-20
    • 2012-12-08
    • 1970-01-01
    • 2013-04-24
    • 1970-01-01
    相关资源
    最近更新 更多