[gentoo-user] / is full
I had not emerged a gentoo system for a while now / is filled up. Looking for large files to remove, I found in /proc: -r 1 root root 1073672192 May 13 22:31 kcore I guess this is not a good file to remove? Kernel images are only this big: -rw--- 1 root root 2298699 Apr 30 00:17 kernel-2.6.11-gentoo-r6B the kcore file is killing a 500 M partion. Ideas on what to do? James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] / is full
James wrote: > I had not emerged a gentoo system for a while now / is filled up. > > Looking for large files to remove, I found in /proc: > > -r 1 root root 1073672192 May 13 22:31 kcore Ignore /proc. It's a virtual filesystem. Nothing in /proc is actually on the hard drive. -- Andrew Gaffneyhttp://dev.gentoo.org/~agaffney/ Gentoo Linux Developer Installer Project -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] / is full
On Sat, 2005-05-14 at 03:37 +, James wrote: > I had not emerged a gentoo system for a while now / is filled up. > > Looking for large files to remove, I found in /proc: > > -r 1 root root 1073672192 May 13 22:31 kcore > > > I guess this is not a good file to remove? > > Kernel images are only this big: > -rw--- 1 root root 2298699 Apr 30 00:17 kernel-2.6.11-gentoo-r6B > > > the kcore file is killing a 500 M partion. bollocks, /proc is a figment of the kernel's imagination, a virtual filesystem, it takes up no room on your hard drive. cd / du --max-depth=1|sort -n keep drilling down to the biggest directories. > > Ideas on what to do? > > > James > > > > -- Nick Rout <[EMAIL PROTECTED]> -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] / is full
If you can, I'd sort the files in the filesystems using du / | sort -nr > somefile Page through the entries... less somefile And remove what I could... I hope this helps... Shawn ...see what's the biggest and work from there to do the deletes... On 5/13/05, Nick Rout <[EMAIL PROTECTED]> wrote: > On Sat, 2005-05-14 at 03:37 +, James wrote: > > I had not emerged a gentoo system for a while now / is filled up. > > > > Looking for large files to remove, I found in /proc: > > > > -r 1 root root 1073672192 May 13 22:31 kcore > > > > > > I guess this is not a good file to remove? > > > > Kernel images are only this big: > > -rw--- 1 root root 2298699 Apr 30 00:17 kernel-2.6.11-gentoo-r6B > > > > > > the kcore file is killing a 500 M partion. > > bollocks, /proc is a figment of the kernel's imagination, a virtual > filesystem, it takes up no room on your hard drive. > > cd / > du --max-depth=1|sort -n > > keep drilling down to the biggest directories. > > > > > Ideas on what to do? > > > > > > James > > > > > > > > > -- > Nick Rout <[EMAIL PROTECTED]> > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] / is full
James wrote: > I had not emerged a gentoo system for a while now / is filled up. > > Looking for large files to remove, I found in /proc: > > -r 1 root root 1073672192 May 13 22:31 kcore > > > I guess this is not a good file to remove? > > Kernel images are only this big: > -rw--- 1 root root 2298699 Apr 30 00:17 kernel-2.6.11-gentoo-r6B > > > the kcore file is killing a 500 M partion. > > Ideas on what to do? > > > James > > > > Safe things that could be deleted: /var/tmp/portage/* /usr/portage/distfiles/* /usr/portage/packages/* -- [Name ] :: [Matan I. Peled] [Location ] :: [Israel] [Public Key] :: [0xD6F42CA5] [Keyserver ] :: [keyserver.kjsl.com] encrypted/signed plain text preferred signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] / is full
James wrote: > I had not emerged a gentoo system for a while now / is filled up. > > Looking for large files to remove, I found in /proc: > > -r 1 root root 1073672192 May 13 22:31 kcore > > > I guess this is not a good file to remove? > > Kernel images are only this big: > -rw--- 1 root root 2298699 Apr 30 00:17 kernel-2.6.11-gentoo-r6B > > > the kcore file is killing a 500 M partion. > > Ideas on what to do? > > > James > > > > As sayd ignore it or understud it, you can look at /usr/src/linux/Documentation/filesystems/proc.txt . kcore Kernel core image (can be ELF or A.OUT(deprecated in 2.4)) another note: your kcore is very big (five times mine) ypu may want to optimize what is compiled in modifying the kernelconfig before to build it (and for this google is your friend ;) ciao francesco -- . These pages are best viewed by coming to my house and looking at . . my monitor. [S. Lucas Bergman (on his website)]. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] / is full
On Sat, 14 May 2005 13:04:53 +0200, Bastian Balthazar Bux wrote: > another note: your kcore is very big (five times mine) ypu may want to > optimize what is compiled in modifying the kernelconfig before to build > it (and for this google is your friend ;) kcore is a snapshot of your physical memory, its size is always equal to the amount of RAM in your computer. -- Neil Bothwick If a deaf person swears, does his mother wash his hands with soap? pgpc7QLwBDU3g.pgp Description: PGP signature
Re: [gentoo-user] / is full
Along the lines others have suggested, with using du to what is taking up all of your space, another useful technique I found is to use the KFileSizeView in Konquerer. It gives you a very nice visual of what is taking up how much relative space on the harddrive. On 5/13/05, James <[EMAIL PROTECTED]> wrote: > I had not emerged a gentoo system for a while now / is filled up. > > Looking for large files to remove, I found in /proc: > > -r 1 root root 1073672192 May 13 22:31 kcore > > I guess this is not a good file to remove? > > Kernel images are only this big: > -rw--- 1 root root 2298699 Apr 30 00:17 kernel-2.6.11-gentoo-r6B > > the kcore file is killing a 500 M partion. > > Ideas on what to do? > > James > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] / is full
Neil Bothwick wrote: > On Sat, 14 May 2005 13:04:53 +0200, Bastian Balthazar Bux wrote: > > >>another note: your kcore is very big (five times mine) ypu may want to >>optimize what is compiled in modifying the kernelconfig before to build >>it (and for this google is your friend ;) > > > kcore is a snapshot of your physical memory, its size is always equal to > the amount of RAM in your computer. > > ... and belive I was _not_ under the effect of heavy drugs while writing that ... going to search a brain changer doctor -- gentoo-user@gentoo.org mailing list