Re: Why there is no space left on root partition?
Thanks for the advice.
I looked at the files under /root, and found
there is a file .xsession-errors has size 4003647488.
What is that? Can I delete it?
On 1/18/07, Andrew Sackville-West <andrew@farwestbilliards.com> wrote:
On Thu, Jan 18, 2007 at 05:08:46PM -0600, 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
right here. your /root directory is 3.8G. How did you end up with so
much crap in /root? /root is the home directory for the root user and
should generally not be that full. regardless though, /root is part of
/ which is /dev/hda6. You have not mounted /root from another
partition. So that 3.8G has taken over your / partition.
>
> Command: df
>
> I run df, get the following
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/hda6 4032092 4032092 0 100% /
you have not put /root on another partition, so it is part of this
one, which is clearly full.
A
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFFsADLaIeIEqwil4YRAipcAJ44OhTQns+206sjYSTvIrbpxsOpuQCfT+uC
cdm2g9HpvHYXgpSqgUls690=
=KZJ/
-----END PGP SIGNATURE-----
Reply to: