View previous topic :: View next topic |
Author |
Message |
thesheff17 Apprentice
Joined: 12 Jan 2005 Posts: 283
|
Posted: Fri Jun 08, 2007 8:48 am Post subject: help hard drive full! |
|
|
alright well I have a file server that only has 8 gig partition on the / partition. Well the whole 8 gig filled up while updating the system. Is there any reason I can't remove the extra kernels that are on the systems?
localhost src # ls -l /usr/src/linux
lrwxrwxrwx 1 root root 22 Jan 11 2006 /usr/src/linux -> linux-2.6.14-gentoo-r5
localhost src #
localhost linux # cd ..
localhost src # ls
linux linux-2.6.16-gentoo-r7 linux-2.6.18-gentoo-r3
linux-2.6.14-gentoo-r5 linux-2.6.16-gentoo-r9 linux-2.6.18-gentoo-r4
linux-2.6.16-gentoo-r12 linux-2.6.17-gentoo-r4 linux-2.6.18-gentoo-r6
linux-2.6.16-gentoo-r13 linux-2.6.17-gentoo-r7 linux-2.6.19-gentoo-r5
linux-2.6.16-gentoo-r3 linux-2.6.17-gentoo-r8 linux-2.6.20-gentoo-r8
linux-2.6.16-gentoo-r6 linux-2.6.18-gentoo-r2
so is it ok to remove everything except linux-2.6.14-gentoo-r5 and linux?
also anyone have any idea what else I can remove? I have already cleaned up the /tmp folder. |
|
Back to top |
|
|
mrbig4545 Tux's lil' helper
Joined: 03 Jun 2004 Posts: 124
|
Posted: Fri Jun 08, 2007 9:32 am Post subject: |
|
|
no you can remove them, although i would reccomend keeping the .config files nicase you need them in the future, have you also tried clearing out out the distfiles folder (/usr/portage/distfiles) its where all the downloads for an emerge are stored, so its get quite big quite quick, i usually clear mine every week or so, i mean chances are once you have something emerged you wont be emergeing it again anytime soon..
Hope this is of some help,
Mark |
|
Back to top |
|
|
lost+found Guru
Joined: 15 Nov 2004 Posts: 509 Location: North~Sea~Coa~s~~t~~~
|
Posted: Fri Jun 08, 2007 10:05 am Post subject: |
|
|
Easy way to clean out your distfiles/packages...
/var/spool/cron/crontabs/root:
Code: | 0 13 * * sun eclean -C -q packages ; eclean -C -q -d -t1w distfiles |
--> From the eclean manual, under "Examples". |
|
Back to top |
|
|
JeroenV Guru
Joined: 16 Jul 2002 Posts: 447 Location: Amsterdam / Hamburg
|
Posted: Fri Jun 08, 2007 10:48 am Post subject: |
|
|
I normally keep only the running kernel tree and the newest, the rest unmerge and delete.
Also, I recently did the following because / was full and I couldn't emerge e.g. wxGTK because it needs a lot of temp space on var to compile:
1) shrink my /share partition by 4G
2) add a new partition in the new space and format it (ext3) (in my case it was sda8)
3) reboot (to have the minimum of temp stuf in var)
4) log in on console
5) mount new partition on /mnt/blah
6) copy /var over to it
7) umount /mnt/blah
8 ) rm -rf /var (yes it might be dangerous, but nothing bad happened)
9) mount /dev/sda8 /var
10) edit /etc/fstab to automount var in the future _________________ Cheers
Jeroen
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
May The Source be with you! |
|
Back to top |
|
|
JeliJami Veteran
Joined: 17 Jan 2006 Posts: 1086 Location: Belgium
|
|
Back to top |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Fri Jun 08, 2007 12:02 pm Post subject: |
|
|
Moved from Kernel & Hardware to Duplicate Threads.
See FAQ davjel linked to. _________________ www.gentoo.org.au || #gentoo-au |
|
Back to top |
|
|
|