Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
help hard drive full!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
thesheff17
Apprentice
Apprentice


Joined: 12 Jan 2005
Posts: 283

PostPosted: Fri Jun 08, 2007 8:48 am    Post subject: help hard drive full! Reply with quote

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
View user's profile Send private message
mrbig4545
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2004
Posts: 124

PostPosted: Fri Jun 08, 2007 9:32 am    Post subject: Reply with quote

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
View user's profile Send private message
lost+found
Guru
Guru


Joined: 15 Nov 2004
Posts: 509
Location: North~Sea~Coa~s~~t~~~

PostPosted: Fri Jun 08, 2007 10:05 am    Post subject: Reply with quote

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
View user's profile Send private message
JeroenV
Guru
Guru


Joined: 16 Jul 2002
Posts: 447
Location: Amsterdam / Hamburg

PostPosted: Fri Jun 08, 2007 10:48 am    Post subject: Reply with quote

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 8)
Jeroen
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
May The Source be with you!
Back to top
View user's profile Send private message
JeliJami
Veteran
Veteran


Joined: 17 Jan 2006
Posts: 1086
Location: Belgium

PostPosted: Fri Jun 08, 2007 11:26 am    Post subject: Reply with quote

SA1: Running out of disk space
_________________
Unanswered Post Initiative | Search | FAQ
Former username: davjel
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Fri Jun 08, 2007 12:02 pm    Post subject: Reply with quote

Moved from Kernel & Hardware to Duplicate Threads.

See FAQ davjel linked to.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum