Problem
$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
udev 503286 370 502916 1% /dev
tmpfs 505610 528 505082 1% /run
/dev/xvda1 655360 540347 115013 99% /
tmpfs 505610 1 505609 1% /dev/shm
tmpfs 505610 3 505607 1% /run/lock
tmpfs 505610 16 505594 1% /sys/fs/cgroup
tmpfs 505616 4 505612 1% /run/user/1002
Solved
1. Find a suspect
$ for i in /*; do echo $i; find $i |wc -l; done
/bin
172
/boot
374
sys
37941
/tmp
164
/usr
508121
.
.
2. more detail
/usr$ for i in ./*; do echo $i; find $i |wc -l; done
./bin
928
./games
1
./include
2258
./lib
12906
./local
11154
./sbin
170
./share
26337
./src
454366
.
.
/usr/src$ ls
linux-headers-4.4.0-104 linux-headers-4.4.0-124 linux-headers-4.4.0-66
linux-headers-4.4.0-104-generic linux-headers-4.4.0-124-generic linux-headers-4.4.0-66-generic
linux-headers-4.4.0-109 linux-headers-4.4.0-127 linux-headers-4.4.0-72
linux-headers-4.4.0-109-generic linux-headers-4.4.0-127-generic linux-headers-4.4.0-72-generic
linux-headers-4.4.0-112 linux-headers-4.4.0-128 linux-headers-4.4.0-75
linux-headers-4.4.0-112-generic linux-headers-4.4.0-128-generic linux-headers-4.4.0-75-generic
linux-headers-4.4.0-116 linux-headers-4.4.0-57 linux-headers-4.4.0-78
linux-headers-4.4.0-116-generic linux-headers-4.4.0-57-generic linux-headers-4.4.0-78-generic
linux-headers-4.4.0-119 linux-headers-4.4.0-64 linux-headers-4.4.0-79
linux-headers-4.4.0-119-generic linux-headers-4.4.0-64-generic linux-headers-4.4.0-79-generic
linux-headers-4.4.0-121 linux-headers-4.4.0-65
linux-headers-4.4.0-121-generic linux-headers-4.4.0-65-generic
3. remove old packages
$ sudo apt autoremove
$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
udev 503286 370 502916 1% /dev
tmpfs 505610 520 505090 1% /run
/dev/xvda1 655360 149191 506169 23% /
tmpfs 505610 1 505609 1% /dev/shm
tmpfs 505610 3 505607 1% /run/lock
tmpfs 505610 16 505594 1% /sys/fs/cgroup
tmpfs 505616 4 505612 1% /run/user/1002
'Trouble Shooting' 카테고리의 다른 글
bluetoothd connect error: Connection refused (111) (0) | 2019.02.17 |
---|---|
sap-server: Operation not permitted (0) | 2019.02.13 |
libpulse-dev install error on raspbian jessie (0) | 2017.12.21 |
Error: spawn rec ENOENT (0) | 2017.09.04 |
ubuntu apt-get update error (0) | 2017.04.19 |