Chinaunix

标题: fedora 18 根目录空间不足 [打印本页]

作者: risepp    时间: 2013-07-05 12:25
标题: fedora 18 根目录空间不足
fedora下根目录空间不足了, 有啥办法可以扩展呢? 最麻烦的是都是用的partition, 没有用lvm进行管理. 或者有没有办法能找出哪些软件占用空间过多, 以便清除掉, 谢谢!
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs         16G     0   16G   0% /dev
tmpfs            16G  7.6G  8.2G  48% /dev/shm
tmpfs            16G   39M   16G   1% /run
tmpfs            16G     0   16G   0% /sys/fs/cgroup
/dev/vda2       9.9G  9.3G  127M  99% /
/dev/vdb        935G   83G  806G  10% /mnt

[root@avmon ~]# fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/vda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/vda: 10.7 GB, 10737418240 bytes, 20971520 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/vda1               1    20971519    10485759+  ee  GPT

Disk /dev/vdb: 1020.1 GB, 1020054732800 bytes, 1992294400 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

[root@avmon ~]# lvs
  No volume groups found

作者: Hongqiyaodao    时间: 2013-07-05 12:45
提示: 作者被禁止或删除 内容自动屏蔽
作者: chenyx    时间: 2013-07-05 15:23
/home下东西多不多,还有/tmp,/var/log下的日志文件后面有.+数字的,都可以删除.
/home下东西多,加硬盘,将/home单独分区.
作者: su8610    时间: 2013-07-05 15:50
我前几天看碰到这个问题,后来发现是我的home目录太大了,加多个硬盘,把home单独挂出来
作者: lbseraph    时间: 2013-07-05 15:57
清理一下释放空间吧,或者像LS一样把特定的目录单独挂出来。
作者: yanu    时间: 2013-07-05 16:41
cd /
du -sk * | sort -n

一层一层找
作者: zongg    时间: 2013-07-05 17:12
du --max-depth=1 也是得一层层目录找。
作者: to407    时间: 2013-07-05 18:02
我只想说,你一共才给个10G+ 是在说,很有钱就是不给linux用么。。。。

随便分一块出来,然后拷个一级目录过去就可以mount了。
作者: kooleon    时间: 2013-07-05 19:07
这/mnt分这么大。根才10G  
作者: kooleon    时间: 2013-07-05 19:08
一般来说 /usr  蛮大的,可以移动到其它分区去。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2