|
|

楼主 |
发表于 2009-6-2 21:32:50
|
显示全部楼层
问题解决了
用tar命令备份系统的时候忘了把/proc给排除了
因为/proc下的文件都是:None of the files in /proc are really there--they're all, "pretend,"
files made up by the kernel, to give you information about the system
and don't take up any hard disk space. 尤其是kcore,实际上是你的内存的大小:/proc/kcore is like an "alias" for the memory in your computer. Its
size is the same as the amount of RAM you have, and if you read it as
a file, the kernel does memory reads. 于是怀疑用tar命令备份时把/proc下的东西都给备份到硬盘上去了。
把根分区重新Mount到/mnt下,果然/proc下有不少东西,包括那个2.4G的kcore
索性rm -r *
统统死啦死啦的。
重启,根目录下多出了两G多空间,吼吼。
──────────────────────────────────────
再次感谢楼上诸位热心的兄弟,
ncdu真的很好用哟!! |
|