View previous topic :: View next topic |
Author |
Message |
KrossFIN n00b
Joined: 08 May 2010 Posts: 63 Location: Finland, Oulu
|
Posted: Sat Sep 25, 2010 9:53 am Post subject: [SOLVED]root partition is filled with something? |
|
|
So, I've managed to create another problem. This time I've filled my / partition and it has crippled my system.
/dev/sda2 xfs 14Gb is my root partition.
I can't resize my partition for some odd reason, and my KDE crashes, gentoo refuses to emerge (due to lack of space)...
Possible reason: I was running VirtualBox with XP x64 version, then it went so somekind of a pause saying "you have run out of space"
AND I can't find my virtual HDD anywhere?
So, any ideas? _________________ Gentoo Linux user
~amd64 user
no-multilib user
KDE user
Last edited by KrossFIN on Sat Sep 25, 2010 8:58 pm; edited 1 time in total |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat Sep 25, 2010 11:34 am Post subject: |
|
|
You're using XFS, which means if your system crashed while that virtual HDD image was being used, it's probably been deleted. |
|
Back to top |
|
|
KrossFIN n00b
Joined: 08 May 2010 Posts: 63 Location: Finland, Oulu
|
Posted: Sat Sep 25, 2010 4:12 pm Post subject: |
|
|
Ok, but what could it be then?
I don't know was my virtual hdd in use due to VirtualBox being on pause/frozen.
I've figured out that all folders except /root are small, so /root is filled with something.
(as root)
shows me nothing. _________________ Gentoo Linux user
~amd64 user
no-multilib user
KDE user
Last edited by KrossFIN on Sat Sep 25, 2010 7:22 pm; edited 3 times in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Sat Sep 25, 2010 4:57 pm Post subject: |
|
|
KrossFIN,
If everything in your 14G / partition there are several things that grow without limit unless you prune them.
/usr/portage/distfiles contains all the sources you have ever downloaded eclean -d distfiles will remove unneeded sources.
/usr/portage/packages contains all the binary packages you have made, if you set up to keep them.
/var/tmp/portage contains the remains of broken builds. You can remove the contents when no emerges are in progress.
/var/log/... some logfiles grow without limit. If you don't have a log file manager, they all will.
/usr/src/ your kernel source files accumulate here.
/lib/modules/<kernel_name>/ is added to with every kernel you install. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
KrossFIN n00b
Joined: 08 May 2010 Posts: 63 Location: Finland, Oulu
|
Posted: Sat Sep 25, 2010 7:22 pm Post subject: |
|
|
I don't have everything on my / partition.
Can my log files grow that fast, my system is only 2-3 weeks old?
Sure, I lost my syslog-ng due to accidentally doing
It was going to remove 100-300 packages, but I terminated it at 20-30 packages removed..
/usr has plenty of space (19Gb) left.
What logs can I remove (by size).
My partition table. (640Gb disk)
Code: | /dev/sda1 ext2 /boot 200M
/dev/sda2 xfs / 14Gb
/dev/sda3 swap 2G
/dev/sda4 extended (whole disk)
/dev/sda5 xfs /usr 24Gb
/dev/sda6 xfs /home 300Gb |
_________________ Gentoo Linux user
~amd64 user
no-multilib user
KDE user |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Sat Sep 25, 2010 8:37 pm Post subject: |
|
|
KrossFIN,
If you have some debugging options on in the kernel, logs can grow at a frightening rate, so yes it can happen
Look at all the folders in your / with to see what is eating the space. You may want to read its man page, as du alone will be too verbose for what you want. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
KrossFIN n00b
Joined: 08 May 2010 Posts: 63 Location: Finland, Oulu
|
Posted: Sat Sep 25, 2010 8:58 pm Post subject: |
|
|
Gave me a small list of files and ./.VirtualBox was eating 14Gb (HDD folder)
Why on earth does VirtualBox keep my virtual HDD's there?
So it's solved, thank you for your help. _________________ Gentoo Linux user
~amd64 user
no-multilib user
KDE user |
|
Back to top |
|
|
|