[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why there is no space left on root partition?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/18/07 17:08, jie gong wrote:
> Hi
> I am a newbee to debian linux. I found my root partition is full.
> My root partition has 4 GB, but I added the size of files under the root
> partition, anyway they did not hit the 4GB, not even close.
> Where did the space go?
> 
> Here is some output which may be useful.
> command: du -hcs /*
> 
> 3.3M                              /bin
> 5.8M                              /boot
> 128K                             /dev
> 23M                               /etc
> 4.0K                              /fai
> 893M                             /home
> 4.0K                              /initrd
> 44M                               /lib
> 16K                               /lost+found
> 4.0K                              /media
> 4.0K                              /mnt
> 4.0K                               /opt
> 507M                             /proc
> 3.8G                              /root
> 9.6M                              /sbin
> 4.0K                              /srv
> 4.0K                              /sys
> 68K                               /tmp
> 2.5G                              /usr
> 137M                             /var
> 0                                   /vmlinuz
> 0                                    /vmlinuz.old
> 7.9G                               total
> 
> Command: df
> 
> I run df, get the following
> Filesystem    1K-blocks    Used       Available     Use%     Mounted on
> /dev/hda6     4032092      4032092      0               100%      /
> tmpfs           253668         0            253668          0%
> /dev/shm
> /dev/hda1     77749         10032       63703           14%       /boot
> /dev/hda10   12649928     946956     1574456        8%       /home
> /dev/hda8     2016016      32876       1983140        2%        /tmp
> /dev/hda9     15124868    2635568    11720996     19%       /usr
> /dev/hda7     4032092     172316       3654952       5%        /var
> 
> How can I find the missing space?

The 3.8GB of files under /root looks very suspicious.

Another thing I would do is not have so many partitions!  If you are
a home user installing a lot of packages, Including OpenOffice.org,
Java, etc, etc, roll /tmp, /usr & /var back into /, and make / at
least 16GB.

$ df -m | sort
Filesystem           1M-blocks      Used Available Use% Mounted on
/dev/hda1                   45        20        22  48% /boot
/dev/hda2                18778     10900      6925  62% /
/dev/hda3                18778     11942      5883  67% /home
/dev/hda4               197129    164934     22182  89% /data/01
tmpfs                      506         0       506   0% /lib/init/rw
tmpfs                      506         1       506   1% /dev/shm
udev                        10         1        10   1% /dev

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFsAFhS9HxQb37XmcRAvFUAKC1W5G8c+eMyE3JLReLio6S4P7GnQCdFPQy
v4/fQyX4ZBYCXf6jjp9Xz18=
=pDPK
-----END PGP SIGNATURE-----



Reply to: