[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "No space left on device" error, but df shows plenty of space





On 01/31/2017 08:01 AM, Kynn Jones wrote:
Hi everyone!

When I tried to install `ntp`, there was a "No space left on device" at
the end of `apt-get`'s output, but `df` shows no shortage of space:

    # df
    Filesystem     1K-blocks      Used Available Use% Mounted on
    /dev/sda5      381993164 206410036 156155956  57% /
    udev               10240         0     10240   0% /dev
    tmpfs            6588000      9676   6578324   1% /run
    tmpfs           16469996       108  16469888   1% /dev/shm
    tmpfs               5120         4      5116   1% /run/lock
    tmpfs           16469996         0  16469996   0% /sys/fs/cgroup
    tmpfs            3294000         8   3293992   1% /run/user/1000

According to `df`, the maximum percent usage is 57%.

So I tried `dpgk-reconfigure ntp` (as root), and got the same error:

    # dpkg-reconfigure ntp
    Error: No space left on device
    update-rc.d: warning: start and stop actions are no longer
supported; falling back to defaults
    Error: No space left on device

How can I troubleshoot this problem further?

try doing
$ df -i
This shows inodes.
I once had a problem where I could no longer write to a disk, because all of the inodes were occupied due to not properly rotating some log(s). Let us know if that reveals anything seemingly significant.

Tony

--
http://tonybaldwin.me
all tony, all the time


Reply to: