서버에 문제가 있습니다. 디스크가 꽉 찼지만 어떤 디렉터리가 문제인지 찾을 수 없습니다.
/dev/sda1 97G 91G 1.9G 98% /
udev 3.9G 4.0K 3.9G 1% /dev
tmpfs 798M 500K 798M 1% /run
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 0 5.0M 0% /run/lock
none 3.9G 0 3.9G 0% /run/shm
none 100M 0 100M 0% /run/user
디렉토리 크기를 표시하려고 하면 다음과 같습니다.
# du -sh /*
9.6M /bin
21M /boot
4.0K /dev
11M /etc
44K /home
30M /lib
4.0K /lib64
16K /lost+found
8.0K /media
4.0K /mnt
47M /opt
du: cannot access ‘/proc/23534/task/23534/fd/4’: No such file or directory
du: cannot access ‘/proc/23534/task/23534/fdinfo/4’: No such file or directory
du: cannot access ‘/proc/23534/fd/4’: No such file or directory
du: cannot access ‘/proc/23534/fdinfo/4’: No such file or directory
0 /proc
479M /root
500K /run
24M /sbin
12K /srv
du: cannot access ‘/sys/kernel/slab/L2TP/IPv6’: No such file or directory
du: cannot access ‘/sys/kernel/slab/L2TP/IP’: No such file or directory
0 /sys
24K /tmp
1.2G /usr
11G /var
100G 디스크가 있어야합니다. 하지만 du 명령을 사용하면 내 디렉토리가 20G 미만인 것 같습니다.
# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda1 6405600 154536 6251064 3% /
udev 1020715 1447 1019268 1% /dev
tmpfs 1021286 878 1020408 1% /run
none 1021286 2 1021284 1% /sys/fs/cgroup
none 1021286 1 1021285 1% /run/lock
none 1021286 1 1021285 1% /run/shm
none 1021286 2 1021284 1% /run/user