df的输出是:
[root@backup log]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGro 1889811408 1861658948 0 100% / /dev/sda1 101086 16235 79632 17% /boot tmpfs 1815760 0 1815760 0% /dev/shm
因此可用的块应该是28.152.460,但它是0.我一直在删除文件的垃圾负载,并且使用的块正在下降,但可用块保持为0.
df -i的输出是:
[root@backup log]# df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/VolGro 487751680 238360803 249390877 49% / /dev/sda1 26104 37 26067 1% /boot tmpfs 219784 1 219783 1% /dev/shm
所以这不是缺少inode.
lsof L1的输出是:
[root@backup log]# /usr/sbin/lsof +L1 COMMAND PID USER FD TYPE DEVICE SIZE NLINK NODE NAME MysqLd 2444 MysqL 4u REG 253,0 0 0 268795908 /tmp/ibSlaKC7 (deleted) MysqLd 2444 MysqL 5u REG 253,0 0 0 268795909 /tmp/ibhFuyGr (deleted) MysqLd 2444 MysqL 6u REG 253,0 0 0 268795910 /tmp/ibbNinKL (deleted) MysqLd 2444 MysqL 7u REG 253,0 0 0 268795911 /tmp/ibz1ia55 (deleted) MysqLd 2444 MysqL 11u REG 253,0 0 0 268795912 /tmp/ibM3IHvr (deleted) crond 2549 root 3u REG 253,0 5 0 248579098 /var/run/crond.pid (deleted) yum-updat 2620 root 14w REG 253,0 0 0 248611115 /var/run/yum.pid (deleted) ssh 16256 root 0u CHR 136,0 0 2 /dev/pts/0 (deleted) ssh 16256 root 1u CHR 136,0 0 2 /dev/pts/0 (deleted) ssh 16256 root 2u CHR 136,0 0 2 /dev/pts/0 (deleted)
我无法运行’du’,因为99%的磁盘使用量在/ var / backups下,其中包含大约1亿个文件(一些白痴决定从带有subversion目录的实时服务器rsync代码,所以它是很多小文件),所以运行’du’需要数天或数周.
有没有人对如何进行有任何建议?