Gentoo Archives: gentoo-user

From: Allan Spagnol Comar <allan.comar@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: /usr almost full
Date: Fri, 24 Nov 2006 01:27:06
Message-Id: 1cc2dc830611231721k4fdda2bbnfb71f37145aaa4ca@mail.gmail.com
In Reply to: [gentoo-user] Re: /usr almost full by James
1 Thank you again.
2 I tried the command for big files, but found none. the old file
3 command return basically portage index files. I solved for now the
4 problem cleaning and gziping my kernel source, moving doc folder to
5 home and making sinlinks.
6
7 Thank you all for the help. Allan
8
9 On 11/23/06, James <wireless@×××××××××××.com> wrote:
10 > Allan Spagnol Comar <allan.comar <at> gmail.com> writes:
11 >
12 >
13 > > I am having a little problem with my /usr partition, I had a /usr
14 > > partition of 3.0GB in a production server that is almost full ( 500MB
15 > > remaining ) the portage distfiles is located on other disk (
16 > > /home/portage ) and I do not know what I can remove to save some disk,
17 > > can someone help ?
18 >
19 >
20 > Well /usr/src contains kernels. get rid of all but the latest sources you
21 > are using.
22 >
23 >
24 > Here's a little helper commnad to find large files that may or maynot be
25 > discard eligible:
26 >
27 > find ./ -size +100000 -exec ls -lag {} \; | less <lists large files>
28 >
29 >
30 > Here's another trick to find old files that may or maynot be discard eligile:
31 >
32 > find ./ -mtime +180 -exec ls -lag {} \; | less
33 >
34 >
35 > Depending on your setup, files in /usr/tmp may also be 'discard eligible.
36 >
37 >
38 > hth,
39 >
40 >
41 > James
42 >
43 > --
44 > gentoo-user@g.o mailing list
45 >
46 >
47
48
49 --
50 An application asked:
51 "Requires Windows 9x, NT4 or better",
52 so I´ve installed Linux
53
54 --
55 gentoo-user@g.o mailing list