Il / dev .. è pieno:
SERVER:/dev # df -mP /dev
Filesystem 1048576-blocks Used Available Capacity Mounted on
udev 12042 12042 0 100% /dev
Non ci sono file che consumano spazio!
SERVER:/dev # find . -ls | sort -r | head -2
2790517 0 -rw-r--r-- 1 root root 0 Dec 16 10:04 ./devnull
1490005831 0 -rw------- 1 root root 0 Dec 16 07:54 ./nul
120387 0 lrwxrwxrwx 1 root root 12 Dec 03 05:42 ./disk/by-uuid/xx..foo..xx -> ../../dm-13
SERVER:/dev # du -sm * 2>/dev/null | sort -nr | head -4
1 shm
0 zero
0 xconsole
0 watchdog
lo swap è usato pesantemente:
SERVER:/dev # free -m
total used free shared buffers cached
Mem: 24083 23959 124 0 327 21175
-/+ buffers/cache: 2455 21627
Swap: 10245 10245 0
file eliminati ma ancora utilizzati (?):
SERVER:/dev # lsof /dev | grep deleted
su 4510 bar 14u REG 0,14 6269616128 2689827477 /dev/shm/kdfoo.a4o (deleted)
grep 4512 root 1u REG 0,14 6269616128 2689827477 /dev/shm/kdfoo.a4o (deleted)
bash 4517 bar 14u REG 0,14 6269616128 2689827477 /dev/shm/kdfoo.a4o (deleted)
sh 4606 bar 14u REG 0,14 6269616128 2689827477 /dev/shm/kdfoo.a4o (deleted)
ksh 24134 root 1u REG 0,14 6329864192 2685851781 /dev/shm/foo5.44m (deleted)
ksh 29209 root 1u REG 0,14 6269616128 2689827477 /dev/shm/kdfoo.a4o (deleted)
su 29571 bar 14u REG 0,14 6329864192 2685851781 /dev/shm/foo5.44m (deleted)
grep 29573 root 1u REG 0,14 6329864192 2685851781 /dev/shm/foo5.44m (deleted)
bash 29578 bar 14u REG 0,14 6329864192 2685851781 /dev/shm/foo5.44m (deleted)
sh 29694 bar 14u REG 0,14 6329864192 2685851781 /dev/shm/foo5.44m (deleted)
SERVER:/dev #
La mia domanda : cosa sta usando tutto lo spazio di 12 GByte di "udev on / dev type tmpfs (rw)"?
du *
: qualche possibilità di un file dot? Cosa du -x /dev
dice?
mount | grep /dev
sarebbe di aiuto.
df -h
eps u --sort=-pmem
?