public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] /usr almost full
@ 2006-11-23 15:36 Allan Spagnol Comar
  2006-11-23 16:52 ` Hemmann, Volker Armin
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Allan Spagnol Comar @ 2006-11-23 15:36 UTC (permalink / raw
  To: gentoo-user

Hello every one, it´s beeing a long time since my last post.

I am having a little problem with my /usr partition, I had a /usr
partition of 3.0GB in a production server that is almost full ( 500MB
remaining ) the portage distfiles is located on other disk (
/home/portage ) and I do not know what I can remove to save some disk,
can someone help ?

thanks, Allan

-- 
An application asked:
"Requires Windows 9x, NT4 or better",
so I´ve installed Linux

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] /usr almost full
  2006-11-23 15:36 [gentoo-user] /usr almost full Allan Spagnol Comar
@ 2006-11-23 16:52 ` Hemmann, Volker Armin
  2006-11-23 17:34   ` Allan Spagnol Comar
  2006-11-23 18:07   ` Bira
  2006-11-23 22:02 ` [gentoo-user] " James
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 17+ messages in thread
From: Hemmann, Volker Armin @ 2006-11-23 16:52 UTC (permalink / raw
  To: gentoo-user

On Thursday 23 November 2006 16:36, Allan Spagnol Comar wrote:
> Hello every one, it´s beeing a long time since my last post.
>
> I am having a little problem with my /usr partition, I had a /usr
> partition of 3.0GB in a production server that is almost full ( 500MB
> remaining ) the portage distfiles is located on other disk (
> /home/portage ) and I do not know what I can remove to save some disk,
> can someone help ?
>

linux sources in /usr/src

unneeded man pages and stuff with localpurge

almost everything in /usr/share/doc

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] /usr almost full
  2006-11-23 16:52 ` Hemmann, Volker Armin
@ 2006-11-23 17:34   ` Allan Spagnol Comar
  2006-11-23 18:07   ` Bira
  1 sibling, 0 replies; 17+ messages in thread
From: Allan Spagnol Comar @ 2006-11-23 17:34 UTC (permalink / raw
  To: gentoo-user

thanks.

On 11/23/06, Hemmann, Volker Armin <volker.armin.hemmann@tu-clausthal.de> wrote:
> On Thursday 23 November 2006 16:36, Allan Spagnol Comar wrote:
> > Hello every one, it´s beeing a long time since my last post.
> >
> > I am having a little problem with my /usr partition, I had a /usr
> > partition of 3.0GB in a production server that is almost full ( 500MB
> > remaining ) the portage distfiles is located on other disk (
> > /home/portage ) and I do not know what I can remove to save some disk,
> > can someone help ?
> >
>
> linux sources in /usr/src
>
> unneeded man pages and stuff with localpurge
>
> almost everything in /usr/share/doc
>
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
An application asked:
"Requires Windows 9x, NT4 or better",
so I´ve installed Linux

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] /usr almost full
  2006-11-23 16:52 ` Hemmann, Volker Armin
  2006-11-23 17:34   ` Allan Spagnol Comar
@ 2006-11-23 18:07   ` Bira
  2006-11-23 18:42     ` Etaoin Shrdlu
  1 sibling, 1 reply; 17+ messages in thread
From: Bira @ 2006-11-23 18:07 UTC (permalink / raw
  To: gentoo-user

On 11/23/06, Hemmann, Volker Armin <volker.armin.hemmann@tu-clausthal.de> wrote:
>
> linux sources in /usr/src
>
> unneeded man pages and stuff with localpurge
>
> almost everything in /usr/share/doc

You can also delete stuff in /usr/portage/distfiles - this directory
is a cache of the source code portage downloads. If you don't mind
downloading some of them again the next time you update your system,
it's a nice way to clear some space.


-- 
Bira
http://compexplicita.blogspot.com
http://sinfoniaferida.blogspot.com
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] /usr almost full
  2006-11-23 18:07   ` Bira
@ 2006-11-23 18:42     ` Etaoin Shrdlu
  0 siblings, 0 replies; 17+ messages in thread
From: Etaoin Shrdlu @ 2006-11-23 18:42 UTC (permalink / raw
  To: gentoo-user

On Thursday 23 November 2006 19:07, Bira wrote:

> You can also delete stuff in /usr/portage/distfiles - this directory
> is a cache of the source code portage downloads. If you don't mind
> downloading some of them again the next time you update your system,
> it's a nice way to clear some space.

In this case no, he said that distfiles are on another partition.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user]  Re: /usr almost full
  2006-11-23 15:36 [gentoo-user] /usr almost full Allan Spagnol Comar
  2006-11-23 16:52 ` Hemmann, Volker Armin
@ 2006-11-23 22:02 ` James
  2006-11-24  1:21   ` Allan Spagnol Comar
  2006-11-24  4:02 ` reader
  2006-11-24  6:43 ` [gentoo-user] " Dirk Heinrichs
  3 siblings, 1 reply; 17+ messages in thread
From: James @ 2006-11-23 22:02 UTC (permalink / raw
  To: gentoo-user

Allan Spagnol Comar <allan.comar <at> gmail.com> writes:


> I am having a little problem with my /usr partition, I had a /usr
> partition of 3.0GB in a production server that is almost full ( 500MB
> remaining ) the portage distfiles is located on other disk (
> /home/portage ) and I do not know what I can remove to save some disk,
> can someone help ?


Well  /usr/src contains kernels. get rid of all but the latest sources you
are using. 


Here's a little helper commnad to find large files that may or maynot be
discard eligible:

find ./ -size +100000  -exec ls -lag {} \; | less       <lists large files>


Here's another trick to find old files that may or maynot be discard eligile:

find ./ -mtime +180 -exec ls -lag {} \; | less


Depending on your setup, files in /usr/tmp may also be 'discard eligible.


hth,


James

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] Re: /usr almost full
  2006-11-23 22:02 ` [gentoo-user] " James
@ 2006-11-24  1:21   ` Allan Spagnol Comar
  0 siblings, 0 replies; 17+ messages in thread
From: Allan Spagnol Comar @ 2006-11-24  1:21 UTC (permalink / raw
  To: gentoo-user

Thank you again.
I tried the command for big files, but found none. the old file
command return basically portage index files. I solved for now the
problem cleaning and gziping my kernel source, moving doc folder to
home and making sinlinks.

Thank you all for the help. Allan

On 11/23/06, James <wireless@tampabay.rr.com> wrote:
> Allan Spagnol Comar <allan.comar <at> gmail.com> writes:
>
>
> > I am having a little problem with my /usr partition, I had a /usr
> > partition of 3.0GB in a production server that is almost full ( 500MB
> > remaining ) the portage distfiles is located on other disk (
> > /home/portage ) and I do not know what I can remove to save some disk,
> > can someone help ?
>
>
> Well  /usr/src contains kernels. get rid of all but the latest sources you
> are using.
>
>
> Here's a little helper commnad to find large files that may or maynot be
> discard eligible:
>
> find ./ -size +100000  -exec ls -lag {} \; | less       <lists large files>
>
>
> Here's another trick to find old files that may or maynot be discard eligile:
>
> find ./ -mtime +180 -exec ls -lag {} \; | less
>
>
> Depending on your setup, files in /usr/tmp may also be 'discard eligible.
>
>
> hth,
>
>
> James
>
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
An application asked:
"Requires Windows 9x, NT4 or better",
so I´ve installed Linux

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user]  Re: /usr almost full
  2006-11-23 15:36 [gentoo-user] /usr almost full Allan Spagnol Comar
  2006-11-23 16:52 ` Hemmann, Volker Armin
  2006-11-23 22:02 ` [gentoo-user] " James
@ 2006-11-24  4:02 ` reader
  2006-11-24  6:43 ` [gentoo-user] " Dirk Heinrichs
  3 siblings, 0 replies; 17+ messages in thread
From: reader @ 2006-11-24  4:02 UTC (permalink / raw
  To: gentoo-user

"Allan Spagnol Comar" <allan.comar@gmail.com> writes:

> Hello every one, it´s beeing a long time since my last post.
>
> I am having a little problem with my /usr partition, I had a /usr
> partition of 3.0GB in a production server that is almost full ( 500MB
> remaining ) the portage distfiles is located on other disk (
> /home/portage ) and I do not know what I can remove to save some disk,
> can someone help ?

mv /usr/share /usr/lib and /usr/local (if you have much on it) to
different partitions and symlink to /usr

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] /usr almost full
  2006-11-23 15:36 [gentoo-user] /usr almost full Allan Spagnol Comar
                   ` (2 preceding siblings ...)
  2006-11-24  4:02 ` reader
@ 2006-11-24  6:43 ` Dirk Heinrichs
  2006-11-24  9:43   ` Mick
  3 siblings, 1 reply; 17+ messages in thread
From: Dirk Heinrichs @ 2006-11-24  6:43 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1201 bytes --]

Am Donnerstag, 23. November 2006 16:36 schrieb ext Allan Spagnol Comar:

> I am having a little problem with my /usr partition, I had a /usr
> partition of 3.0GB in a production server that is almost full ( 500MB
> remaining ) the portage distfiles is located on other disk (
> /home/portage ) and I do not know what I can remove to save some disk,
> can someone help ?

Other's have already told you what you can delete. I'd like to make a 
different proposal.

If you could create another partition, you could install EVMS and link the 
new partition to your /usr partition, using EVMS's drive-link plugin, then 
grow the filesystem to occupy the new space.

For future installations you should consider using some kind of logical 
volume manager like LVM or EVMS from the beginning, together with an 
online-resizable filesystem.

HTH...

	Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinrichs@capgemini.com
Hambornerstraße 55      | Web:  http://www.capgemini.com
D-40472 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] /usr almost full
  2006-11-24  6:43 ` [gentoo-user] " Dirk Heinrichs
@ 2006-11-24  9:43   ` Mick
  2006-11-24  9:48     ` Alan McKinnon
                       ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Mick @ 2006-11-24  9:43 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 851 bytes --]

On Friday 24 November 2006 06:43, Dirk Heinrichs wrote:

> Other's have already told you what you can delete. I'd like to make a
> different proposal.
>
> If you could create another partition, you could install EVMS and link the
> new partition to your /usr partition, using EVMS's drive-link plugin, then
> grow the filesystem to occupy the new space.
>
> For future installations you should consider using some kind of logical
> volume manager like LVM or EVMS from the beginning, together with an
> online-resizable filesystem.

In the event that the OS get borked, is it possible to boot using a LiveCD 
(e.g. Knoppix) to recover the fs and data, like one can with the good ol' 
primary & logical partitions?

Or, is there a need for access to software exotica and configuration files on 
the borked OS?

-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] /usr almost full
  2006-11-24  9:43   ` Mick
@ 2006-11-24  9:48     ` Alan McKinnon
  2006-11-24 10:00     ` Dirk Heinrichs
  2006-11-24 10:08     ` Neil Bothwick
  2 siblings, 0 replies; 17+ messages in thread
From: Alan McKinnon @ 2006-11-24  9:48 UTC (permalink / raw
  To: gentoo-user

On Friday 24 November 2006 11:43, Mick wrote:
> On Friday 24 November 2006 06:43, Dirk Heinrichs wrote:
> > Other's have already told you what you can delete. I'd like to make
> > a different proposal.
> >
> > If you could create another partition, you could install EVMS and
> > link the new partition to your /usr partition, using EVMS's
> > drive-link plugin, then grow the filesystem to occupy the new
> > space.
> >
> > For future installations you should consider using some kind of
> > logical volume manager like LVM or EVMS from the beginning,
> > together with an online-resizable filesystem.
>
> In the event that the OS get borked, is it possible to boot using a
> LiveCD (e.g. Knoppix) to recover the fs and data, like one can with
> the good ol' primary & logical partitions?
>
> Or, is there a need for access to software exotica and configuration
> files on the borked OS?

For LVM you only need an initrd on the LiveCD with LVM support. It then 
looks at the various disks, finds the pvs and then lvs then become 
available.

Dunno about EVMS as I have no experience with that

alan
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] /usr almost full
  2006-11-24  9:43   ` Mick
  2006-11-24  9:48     ` Alan McKinnon
@ 2006-11-24 10:00     ` Dirk Heinrichs
  2006-11-24 10:08     ` Neil Bothwick
  2 siblings, 0 replies; 17+ messages in thread
From: Dirk Heinrichs @ 2006-11-24 10:00 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 996 bytes --]

Am Freitag, 24. November 2006 10:43 schrieb ext Mick:

> > For future installations you should consider using some kind of logical
> > volume manager like LVM or EVMS from the beginning, together with an
> > online-resizable filesystem.
>
> In the event that the OS get borked, is it possible to boot using a
> LiveCD (e.g. Knoppix) to recover the fs and data, like one can with the
> good ol' primary & logical partitions?

All the LiveCD needs is LVM or EVMS, which is the case for Gentoo CD's, 
don't know about Knoppix.

> Or, is there a need for access to software exotica and configuration
> files on the borked OS?

No.

Bye...

	Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinrichs@capgemini.com
Hambornerstraße 55      | Web:  http://www.capgemini.com
D-40472 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] /usr almost full
  2006-11-24  9:43   ` Mick
  2006-11-24  9:48     ` Alan McKinnon
  2006-11-24 10:00     ` Dirk Heinrichs
@ 2006-11-24 10:08     ` Neil Bothwick
  2006-11-24 10:35       ` Dirk Heinrichs
  2 siblings, 1 reply; 17+ messages in thread
From: Neil Bothwick @ 2006-11-24 10:08 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

On Fri, 24 Nov 2006 09:43:22 +0000, Mick wrote:

> In the event that the OS get borked, is it possible to boot using a
> LiveCD (e.g. Knoppix) to recover the fs and data, like one can with the
> good ol' primary & logical partitions?

Not with Knoppix, you need a live CD with LVM support. The Gentoo Live
CDs should have it.


-- 
Neil Bothwick

Why do they sterilize the needles for lethal injections?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] /usr almost full
  2006-11-24 10:08     ` Neil Bothwick
@ 2006-11-24 10:35       ` Dirk Heinrichs
  2006-11-24 10:48         ` Neil Bothwick
  2006-11-24 13:03         ` [gentoo-user] " Alexander Skwar
  0 siblings, 2 replies; 17+ messages in thread
From: Dirk Heinrichs @ 2006-11-24 10:35 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 812 bytes --]

Am Freitag, 24. November 2006 11:08 schrieb ext Neil Bothwick:
> On Fri, 24 Nov 2006 09:43:22 +0000, Mick wrote:
> > In the event that the OS get borked, is it possible to boot using a
> > LiveCD (e.g. Knoppix) to recover the fs and data, like one can with the
> > good ol' primary & logical partitions?
>
> Not with Knoppix, you need a live CD with LVM support. The Gentoo Live
> CDs should have it.

Knoppix has LVM, but not EVMS. Gentoo has both.

Bye...

	Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinrichs@capgemini.com
Hambornerstraße 55      | Web:  http://www.capgemini.com
D-40472 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] /usr almost full
  2006-11-24 10:35       ` Dirk Heinrichs
@ 2006-11-24 10:48         ` Neil Bothwick
  2006-11-24 12:54           ` Dirk Heinrichs
  2006-11-24 13:03         ` [gentoo-user] " Alexander Skwar
  1 sibling, 1 reply; 17+ messages in thread
From: Neil Bothwick @ 2006-11-24 10:48 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 380 bytes --]

On Fri, 24 Nov 2006 11:35:24 +0100, Dirk Heinrichs wrote:

> > Not with Knoppix, you need a live CD with LVM support. The Gentoo Live
> > CDs should have it.  
> 
> Knoppix has LVM, but not EVMS. Gentoo has both.

That must be quite new, the last time I looked Knoppix had neither. Thanks
for the update.


-- 
Neil Bothwick

Top Oxymorons Number 35: Legally drunk

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] /usr almost full
  2006-11-24 10:48         ` Neil Bothwick
@ 2006-11-24 12:54           ` Dirk Heinrichs
  0 siblings, 0 replies; 17+ messages in thread
From: Dirk Heinrichs @ 2006-11-24 12:54 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 849 bytes --]

Am Freitag, 24. November 2006 11:48 schrieb ext Neil Bothwick:
> On Fri, 24 Nov 2006 11:35:24 +0100, Dirk Heinrichs wrote:
> > > Not with Knoppix, you need a live CD with LVM support. The Gentoo
> > > Live CDs should have it.
> >
> > Knoppix has LVM, but not EVMS. Gentoo has both.
>
> That must be quite new, the last time I looked Knoppix had neither.
> Thanks for the update.

I just looked into packages.txt on a Knoppix mirror, not on an real CD. 
Hopefully, they are in sync :-)

Bye...

	Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinrichs@capgemini.com
Hambornerstraße 55      | Web:  http://www.capgemini.com
D-40472 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user]  Re: /usr almost full
  2006-11-24 10:35       ` Dirk Heinrichs
  2006-11-24 10:48         ` Neil Bothwick
@ 2006-11-24 13:03         ` Alexander Skwar
  1 sibling, 0 replies; 17+ messages in thread
From: Alexander Skwar @ 2006-11-24 13:03 UTC (permalink / raw
  To: gentoo-user

Dirk Heinrichs <ext-dirk.heinrichs@nokia.com>:

> Am Freitag, 24. November 2006 11:08 schrieb ext Neil Bothwick:
>> On Fri, 24 Nov 2006 09:43:22 +0000, Mick wrote:
>> > In the event that the OS get borked, is it possible to boot using a
>> > LiveCD (e.g. Knoppix) to recover the fs and data, like one can with the
>> > good ol' primary & logical partitions?
>>
>> Not with Knoppix, you need a live CD with LVM support. The Gentoo Live
>> CDs should have it.
> 
> Knoppix has LVM, but not EVMS. Gentoo has both.

For recovery stuff, I prefer grml, though. Text based, loads faster
and has more recovery things.

Alexander Skwar
-- 
Some days you wake and immediately start worrying.  Nothing in
particular is wrong, it's just the suspicion that forces are aligning
quietly and there will be trouble.
                -- "Survival Series", Jenny Holzer


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2006-11-24 13:07 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-23 15:36 [gentoo-user] /usr almost full Allan Spagnol Comar
2006-11-23 16:52 ` Hemmann, Volker Armin
2006-11-23 17:34   ` Allan Spagnol Comar
2006-11-23 18:07   ` Bira
2006-11-23 18:42     ` Etaoin Shrdlu
2006-11-23 22:02 ` [gentoo-user] " James
2006-11-24  1:21   ` Allan Spagnol Comar
2006-11-24  4:02 ` reader
2006-11-24  6:43 ` [gentoo-user] " Dirk Heinrichs
2006-11-24  9:43   ` Mick
2006-11-24  9:48     ` Alan McKinnon
2006-11-24 10:00     ` Dirk Heinrichs
2006-11-24 10:08     ` Neil Bothwick
2006-11-24 10:35       ` Dirk Heinrichs
2006-11-24 10:48         ` Neil Bothwick
2006-11-24 12:54           ` Dirk Heinrichs
2006-11-24 13:03         ` [gentoo-user] " Alexander Skwar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox