Re: [gentoo-user] Lost free space on /

2009-06-13 Thread Alan McKinnon
On Friday 12 June 2009 22:24:29 Dirk Heinrichs wrote:
 Am Freitag 12 Juni 2009 21:56:04 schrieb Alan McKinnon:
  There's a few guidlelines one can give (but only a few). The variables
  tend to be large than the amounts with guidelines though.
 
  /var/tmp/portage should be at least 1G on a modern system, 6G+ if
  building mozilla stuff and OOo is something you intend to do.

 BTW: OOo 3.1 seems to raise the bar to 8.5G.

So it's getting worse... I have 6.5G free in /var and rebuilt latest OOo 
recently. My USE for OOo is pretty restrictive though - no gnome, kde, mono

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Lost free space on /

2009-06-13 Thread Neil Bothwick
On Fri, 12 Jun 2009 21:56:04 +0200, Alan McKinnon wrote:

 /var/tmp/portage should be at least 1G on a modern system, 6G+ if
 building mozilla stuff and OOo is something you intend to do. 

IMO PORTAGE_TMPDIR should not be on such an important filesystem as /var.
Having system programs unable to function properly when they cannot write
to logfiles because you OOo emerge has filled the filesystem is not good.
A separate filesystem for this, using either ext2 or tmpfs is a safer, and
faster, option


-- 
Neil Bothwick

Happiness is merely the remission of pain.


signature.asc
Description: PGP signature


Re: [gentoo-user] Lost free space on /

2009-06-12 Thread KH
Alexander Pilipovsky schrieb:
 bn and KH, exuse me if I send not a good question, I have no many
 experience yet :)
 
 
That's where all of us started on day ;-)

kh



Re: [gentoo-user] Lost free space on /

2009-06-12 Thread KH
bn schrieb:

 
 Isn't do A if you are in situation X , because of Z the right pattern?
 
 m.
 


That's only if situation x is constant and absolutely known to the one
replying. But then it might not be of any use for somebody else. Most
likely there will not be a second person with the exact same situation x
around.
Also I learn a lot by following the way to the solution. Like give me
the formula and not the answer and next time I can search for everything
myself.

kh



Re: [gentoo-user] Lost free space on /

2009-06-12 Thread Alan McKinnon
On Friday 12 June 2009 12:48:24 KH wrote:
 bn schrieb:
  Isn't do A if you are in situation X , because of Z the right pattern?
 
  m.

 That's only if situation x is constant and absolutely known to the one
 replying. But then it might not be of any use for somebody else. Most
 likely there will not be a second person with the exact same situation x
 around.
 Also I learn a lot by following the way to the solution. Like give me
 the formula and not the answer and next time I can search for everything
 myself.

The original question was how big should /var be? and the correct answer to 
that question is mu (google it)

If we had the output of df -h and du -sh /var/* plus a description of what 
the machine actually does, some general advice could be given to the OP. As it 
stands with the information given, the only useful answer is you'll have to 
work that out yourself which is what I said right back at the beginning.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Lost free space on /

2009-06-12 Thread Etaoin Shrdlu
On Friday 12 June 2009, 12:58, Alan McKinnon wrote:

 The original question was how big should /var be? and the correct
 answer to that question is mu (google it)

 If we had the output of df -h and du -sh /var/* plus a description
 of what the machine actually does, some general advice could be given
 to the OP. As it stands with the information given, the only useful
 answer is you'll have to work that out yourself which is what I said
 right back at the beginning.

The OP might be a newbie with little or no idea of how things work in a 
mailing list like this. Instead of the you'll have to work that out 
yourself answer, which is a correct answer strictly speaking, but not 
very useful to the OP, one could have asked can you provide more 
information on this and that, so people can help you better? And please, 
in the future, remember that the more information you provide, the 
better answer you are likely to get. (which, btw, is what you did 
anyway in later replies). That would be a more useful answer imho, 
because it will educate (or try to educate) the OP a little more, which 
hopefully will result in him asking questions in a better way in the 
future.

Just my 2c.



Re: [gentoo-user] Lost free space on /

2009-06-12 Thread Dale
Etaoin Shrdlu wrote:
 On Friday 12 June 2009, 12:58, Alan McKinnon wrote:

   
 The original question was how big should /var be? and the correct
 answer to that question is mu (google it)

 If we had the output of df -h and du -sh /var/* plus a description
 of what the machine actually does, some general advice could be given
 to the OP. As it stands with the information given, the only useful
 answer is you'll have to work that out yourself which is what I said
 right back at the beginning.
 

 The OP might be a newbie with little or no idea of how things work in a 
 mailing list like this. Instead of the you'll have to work that out 
 yourself answer, which is a correct answer strictly speaking, but not 
 very useful to the OP, one could have asked can you provide more 
 information on this and that, so people can help you better? And please, 
 in the future, remember that the more information you provide, the 
 better answer you are likely to get. (which, btw, is what you did 
 anyway in later replies). That would be a more useful answer imho, 
 because it will educate (or try to educate) the OP a little more, which 
 hopefully will result in him asking questions in a better way in the 
 future.

 Just my 2c.


   

Alan's point is, there is no way for us to know that.  Example, I
sometimes use http-replicator on my machine which is placed in /var. 
Therefore, that alone could need 2 to 3GBs.  If you use ccache, then add
some more.  Also, doesn't portage use /vat to compile?  If so, then that
is some more space that would be needed.  Does the person use OOo from
source or binary?   Is this a web server of some sort?  Is it going to
be used for a DVR type system? 

A even better question would be this, how much space does the OP have to
begin with?  I have two 80GB drives.  The OP may have some huge 300GB
drive. 

I dont' have any idea what the answer to most of those are so no one
really can answer the question yet.

Dale

:-)  :-) 



Re: [gentoo-user] Lost free space on /

2009-06-12 Thread Alan McKinnon
On Friday 12 June 2009 18:05:29 Dale wrote:

 Alan's point is, there is no way for us to know that.  Example, I
 sometimes use http-replicator on my machine which is placed in /var.
 Therefore, that alone could need 2 to 3GBs.  If you use ccache, then add
 some more.  Also, doesn't portage use /vat to compile?  If so, then that
 is some more space that would be needed.  Does the person use OOo from
 source or binary?   Is this a web server of some sort?  Is it going to
 be used for a DVR type system?

There's a few guidlelines one can give (but only a few). The variables tend to 
be large than the amounts with guidelines though.

/var/tmp/portage should be at least 1G on a modern system, 6G+ if building 
mozilla stuff and OOo is something you intend to do. 
portage cache is about 200M
ccache needs as much space as it was given in make.conf
/var/mail or /var/spool/mail is completely dependant on number of user and how 
much mail they get. Often none for a desktop and huge amounts for a mail 
store.
mysql and postgres need as much as the amount of data intended to be stored.
log space is very big or not too much depending on what you do.

So. The partition holding /var needs at least 1.5G on a modern gentoo system, 
probably more, sometimes LOTS more. Only the admin knows how much more and 
there is no silver bullet answer no matter how much users ask for one. 
Explaining why there is no simple bullet answer is pointless as google already 
knows where everyone else already answered that.

Years of bitter hard experience ramming my head against n00b user expectations 
has taught me never to hint at an answer - anything I say gets taken as gospel 
truth and a bunch of folk are now going to read this and interpret it as 
saying Alan says /var must be 1.5G. How much swap space? is another such 
question.

Perhaps a better first answer than Only you know that is Only you know that 
and you need to know how to calculate it. You find that out by reading the 
fine manual.

We're in Unix land here. As such, my answers thus far are totally appropriate.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Lost free space on /

2009-06-12 Thread Dirk Heinrichs
Am Freitag 12 Juni 2009 21:56:04 schrieb Alan McKinnon:

 There's a few guidlelines one can give (but only a few). The variables tend
 to be large than the amounts with guidelines though.

 /var/tmp/portage should be at least 1G on a modern system, 6G+ if building
 mozilla stuff and OOo is something you intend to do.

BTW: OOo 3.1 seems to raise the bar to 8.5G.

 portage cache is about 200M
 ccache needs as much space as it was given in make.conf
 /var/mail or /var/spool/mail is completely dependant on number of user and
 how much mail they get. Often none for a desktop and huge amounts for a
 mail store.
 mysql and postgres need as much as the amount of data intended to be
 stored. log space is very big or not too much depending on what you do.

And, not to forget, one can always either resize it later (if LVM is used) or 
simply mount more space below /var, which also gives the opportunity to use 
different filesystems, depending on what kind of data is stored.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Lost free space on /

2009-06-11 Thread Dirk Heinrichs
Am Donnerstag 11 Juni 2009 00:44:51 schrieb Philip Webb:
 On Wed, Jun 10, 2009 at 2:50 PM, Alexander Pilipovsky wrote:
  But how many space on hard disk for it will be good?

 I haven't followed this thread in detail, but has anyone suggested LVM ?

No. I'm so used to it I can't even imagine that people still use DOS style 
partitions ;)

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Lost free space on /

2009-06-11 Thread Volker Armin Hemmann
On Donnerstag 11 Juni 2009, Dirk Heinrichs wrote:
 Am Donnerstag 11 Juni 2009 00:44:51 schrieb Philip Webb:
  On Wed, Jun 10, 2009 at 2:50 PM, Alexander Pilipovsky wrote:
   But how many space on hard disk for it will be good?
 
  I haven't followed this thread in detail, but has anyone suggested LVM ?

 No. I'm so used to it I can't even imagine that people still use DOS style
 partitions ;)

 Bye...

   Dirk

and others don't suggest it because it easily breaks.



Re: [gentoo-user] Lost free space on /

2009-06-11 Thread bn
KH ha scritto:

 I totaly do agree with you. There has been nothing indicated to give a
 one out of one answer. In case someone is a noob, ( I am still one
 because I don't no anything about how everything is working) what you
 just wrote is the answer. Like what are your needs and what resurces do
 you have?
 Like I don't think it was something like do my homework but more like
 I don't even know what to look for.

At least telling him what to look for would be useful. I for example
still have no idea, and it's after reading this thread that I checked
the size of my /var directory for the first time in 5 years.

 Often googling for something is leading to lists where absolutly no help
 can be found because someone writes something like: what can I do.
 secend replays like: do A. Frst: cool this did it for me. In the end
 nobody else can use this solution because it is just not EXACT.

Isn't do A if you are in situation X , because of Z the right pattern?

m.



Re: [gentoo-user] Lost free space on /

2009-06-11 Thread Alexander Pilipovsky
bn and KH, exuse me if I send not a good question, I have no many
experience yet :)

bn wrote:
 KH ha scritto:

   
 I totaly do agree with you. There has been nothing indicated to give a
 one out of one answer. In case someone is a noob, ( I am still one
 because I don't no anything about how everything is working) what you
 just wrote is the answer. Like what are your needs and what resurces do
 you have?
 Like I don't think it was something like do my homework but more like
 I don't even know what to look for.
 

 At least telling him what to look for would be useful. I for example
 still have no idea, and it's after reading this thread that I checked
 the size of my /var directory for the first time in 5 years.

   
 Often googling for something is leading to lists where absolutly no help
 can be found because someone writes something like: what can I do.
 secend replays like: do A. Frst: cool this did it for me. In the end
 nobody else can use this solution because it is just not EXACT.
 

 Isn't do A if you are in situation X , because of Z the right pattern?

 m.


   

-- 
Alexander Pilipovsky aka Engraver



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Lost free space on /

2009-06-11 Thread Mick
2009/6/11 Alexander Pilipovsky alexander.pilipov...@gmail.com:
 bn and KH, exuse me if I send not a good question, I have no many experience
 yet :)

(try to avoid top-posts in this mailing list)

I think it has already been suggested:

Use logrotate to keep your logs down to a sensible size.

Also, you may want to empty ccache if you have it enabled.  ccache -C
will clear it out completely.  My /var/tmp is around 886M, half of
which is taken up by ccache at this moment in time.

HTH.
-- 
Regards,
Mick



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Justin
Alexander Pilipovsky schrieb:
 I cannot understand whats doing... :(
 All day smbd loaded my CPU and now GNOME said me, that I have not free
 space on /! Really,
 sh-3.2# df -h
 Файлова система  Розм  Вик  Дост  Вик% змонтований на
 /dev/sda2  28G   28G 0 100% /
 udev   10M  192K  9,9M   2% /dev
 /dev/sda5  50G   34G   14G  71% /home
 /dev/sda6  50G   17G   31G  36% /media/From
 /dev/sda7 130G  110G   13G  90% /media/Different
 /dev/sdb5 291G  274G  3,1G  99% /media/Large
 /dev/sdb6 138G   39G   93G  30% /media/Library
 /dev/sdb7 9,7G  5,4G  3,8G  60% /media/Crypt
 shm   2,5G 0  2,5G   0% /dev/shm
 but if I see on every separate folder, I cannot get 28 GB of loaded
 space (I had 15 GB free yesterday).
 sh-3.2# du -hs /opt
 2,5G /opt
 sh-3.2# du -hs /bin
 5,7M /bin
 sh-3.2# du -hs /dev
 192K /dev
 sh-3.2# du -hs /root
 1,4M /root
 sh-3.2# du -hs /tmp
 30K /tmp
 sh-3.2# du -hs /var
 12G /var
 sh-3.2# du -hs /boot
 35M /boot
 sh-3.2# du -hs /etc
 11M /etc
 sh-3.2# du -hs /lib
 35M /lib
 sh-3.2# du -hs /mnt
 0 /mnt
 sh-3.2# du -hs /sbin
 5,9M /sbin
 sh-3.2# du -hs /sys
 0 /sys
 The last install is Qt Creator with Qt SDK.
 How to clean partition?
 
 Thanks!
 
 -- 
 Alexander Pilipovsky aka Engraver

You have something big in /var. Check /var/tmp/portage or /var/log.

Alos test sys-fs/ncdu or similar tools.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Alexander Pilipovsky
2009/6/10 Justin jus...@j-schmitz.net

 Alexander Pilipovsky schrieb:
 

 You have something big in /var. Check /var/tmp/portage or /var/log.

 Alos test sys-fs/ncdu or similar tools.


Thanks, it's was /var/log/messages that had 11 GB and was not opened by any
editor.

-- 
Alexander Pilipovsky aka Engraver


Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Dale
Alexander Pilipovsky wrote:
 I cannot understand whats doing... :(
 All day smbd loaded my CPU and now GNOME said me, that I have not free
 space on /! Really,
 sh-3.2# df -h
 Файлова система  Розм  Вик  Дост  Вик% змонтований на
 /dev/sda2  28G   28G 0 100% /
 udev   10M  192K  9,9M   2% /dev
 /dev/sda5  50G   34G   14G  71% /home
 /dev/sda6  50G   17G   31G  36% /media/From
 /dev/sda7 130G  110G   13G  90% /media/Different
 /dev/sdb5 291G  274G  3,1G  99% /media/Large
 /dev/sdb6 138G   39G   93G  30% /media/Library
 /dev/sdb7 9,7G  5,4G  3,8G  60% /media/Crypt
 shm   2,5G 0  2,5G   0% /dev/shm
 but if I see on every separate folder, I cannot get 28 GB of loaded
 space (I had 15 GB free yesterday).
 sh-3.2# du -hs /opt
 2,5G /opt
 sh-3.2# du -hs /bin
 5,7M /bin
 sh-3.2# du -hs /dev
 192K /dev
 sh-3.2# du -hs /root
 1,4M /root
 sh-3.2# du -hs /tmp
 30K /tmp
 sh-3.2# du -hs /var
 12G /var
 sh-3.2# du -hs /boot
 35M /boot
 sh-3.2# du -hs /etc
 11M /etc
 sh-3.2# du -hs /lib
 35M /lib
 sh-3.2# du -hs /mnt
 0 /mnt
 sh-3.2# du -hs /sbin
 5,9M /sbin
 sh-3.2# du -hs /sys
 0 /sys
 The last install is Qt Creator with Qt SDK.
 How to clean partition?

 Thanks!

 -- 
 Alexander Pilipovsky aka Engraver

If you unmount /home, does any file show up under /home then?  Keep in
mind, if you have files in for example /home then mount a new partition
on /home, the old files are still on the root partition.  It just mount
/home on top of the old file on the root partition.

I'm assuming the /media/* directories are CD, DVD or some other
removable media?  If not, unmount those and check to see if anything is
hiding under there.

Hope this helps.

Dale

:-)  :-) 



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Paul Hartman
On Wed, Jun 10, 2009 at 1:24 PM, Alexander
Pilipovskyalexander.pilipov...@gmail.com wrote:


 2009/6/10 Justin jus...@j-schmitz.net

 Alexander Pilipovsky schrieb:
 

 You have something big in /var. Check /var/tmp/portage or /var/log.

 Alos test sys-fs/ncdu or similar tools.


 Thanks, it's was /var/log/messages that had 11 GB and was not opened by any
 editor.

I had a similar problem, 100% cpu usage caused by a daemon that did
not respond well when network connection was lost. My
/var/log/messages grew over 60GB in a few hours with the same message
repeated tens of millions of times. I changed my logger from syslog-ng
to metalog, which suppresses duplicates, and now it's not a problem.



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Alexander Pilipovsky


Dale написав(ла):
 Alexander Pilipovsky wrote:
   
 

 If you unmount /home, does any file show up under /home then?  Keep in
 mind, if you have files in for example /home then mount a new partition
 on /home, the old files are still on the root partition.  It just mount
 /home on top of the old file on the root partition.

 I'm assuming the /media/* directories are CD, DVD or some other
 removable media?  If not, unmount those and check to see if anything is
 hiding under there.

 Hope this helps.

 Dale

 :-)  :-) 
Thanks, really, it may be... I wrote DVD a few hours ago and after
reboot with unmounting all partitions all O'k.

-- 
Alexander Pilipovsky aka Engraver



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Alexander Pilipovsky


Paul Hartman написав(ла):
 On Wed, Jun 10, 2009 at 1:24 PM, Alexander
 Pilipovskyalexander.pilipov...@gmail.com wrote:
   
 2009/6/10 Justin jus...@j-schmitz.net
 
 Alexander Pilipovsky schrieb:
 

 You have something big in /var. Check /var/tmp/portage or /var/log.

 Alos test sys-fs/ncdu or similar tools.

   
 Thanks, it's was /var/log/messages that had 11 GB and was not opened by any
 editor.
 

 I had a similar problem, 100% cpu usage caused by a daemon that did
 not respond well when network connection was lost. My
 /var/log/messages grew over 60GB in a few hours with the same message
 repeated tens of millions of times. I changed my logger from syslog-ng
 to metalog, which suppresses duplicates, and now it's not a problem.
   
Thanks, I'm going to install metalog :)

-- 
Alexander Pilipovsky aka Engraver



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Dirk Heinrichs
Am Mittwoch 10 Juni 2009 20:55:16 schrieb Paul Hartman:

 I had a similar problem, 100% cpu usage caused by a daemon that did
 not respond well when network connection was lost. My
 /var/log/messages grew over 60GB in a few hours with the same message
 repeated tens of millions of times.

Well, that's the reason you should put /var on its own partition/logical 
volume.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Alexander Pilipovsky
But how many space on hard disk for it will be good?

Dirk Heinrichs wrote:
 Am Mittwoch 10 Juni 2009 20:55:16 schrieb Paul Hartman:

   
 I had a similar problem, 100% cpu usage caused by a daemon that did
 not respond well when network connection was lost. My
 /var/log/messages grew over 60GB in a few hours with the same message
 repeated tens of millions of times.
 

 Well, that's the reason you should put /var on its own partition/logical 
 volume.

 Bye...

 Dirk
   

-- 
Alexander Pilipovsky aka Engraver



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Lost free space on /

2009-06-10 Thread KH
Dirk Heinrichs schrieb:
 Am Mittwoch 10 Juni 2009 20:55:16 schrieb Paul Hartman:
 
 I had a similar problem, 100% cpu usage caused by a daemon that did
 not respond well when network connection was lost. My
 /var/log/messages grew over 60GB in a few hours with the same message
 repeated tens of millions of times.
 
 Well, that's the reason you should put /var on its own partition/logical 
 volume.
 
 Bye...
 
 Dirk

Well something creating that much messages is just buggi! The cpu will
be on havy duty no diffrence where /var is mounted. This is a bug which
should not happen.

kh



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Paul Hartman
On Wed, Jun 10, 2009 at 2:40 PM, Dirk Heinrichsdirk.heinri...@online.de wrote:
 Am Mittwoch 10 Juni 2009 20:55:16 schrieb Paul Hartman:

 I had a similar problem, 100% cpu usage caused by a daemon that did
 not respond well when network connection was lost. My
 /var/log/messages grew over 60GB in a few hours with the same message
 repeated tens of millions of times.

 Well, that's the reason you should put /var on its own partition/logical
 volume.

Next time I build a computer I will for sure :) For now I have 3
partitions, /, /boot and /home



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Dirk Heinrichs
Am Mittwoch 10 Juni 2009 21:56:21 schrieb KH:
 Well something creating that much messages is just buggi! The cpu will
 be on havy duty no diffrence where /var is mounted. This is a bug which
 should not happen.

But if it happens, it only fills /var!

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Alan McKinnon
On Wednesday 10 June 2009 21:50:27 Alexander Pilipovsky wrote:
 But how many space on hard disk for it will be good?

As much as you need.

There's only one person who can determine that. That person is you.




 Dirk Heinrichs wrote:
  Am Mittwoch 10 Juni 2009 20:55:16 schrieb Paul Hartman:
  I had a similar problem, 100% cpu usage caused by a daemon that did
  not respond well when network connection was lost. My
  /var/log/messages grew over 60GB in a few hours with the same message
  repeated tens of millions of times.
 
  Well, that's the reason you should put /var on its own partition/logical
  volume.
 
  Bye...
 
  Dirk

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Dale
KH wrote:
 Dirk Heinrichs schrieb:
   
 Am Mittwoch 10 Juni 2009 20:55:16 schrieb Paul Hartman:

 
 I had a similar problem, 100% cpu usage caused by a daemon that did
 not respond well when network connection was lost. My
 /var/log/messages grew over 60GB in a few hours with the same message
 repeated tens of millions of times.
   
 Well, that's the reason you should put /var on its own partition/logical 
 volume.

 Bye...

 Dirk
 

 Well something creating that much messages is just buggi! The cpu will
 be on havy duty no diffrence where /var is mounted. This is a bug which
 should not happen.

 kh


   

My messages file gets huge sometimes too.  Usually when hal or something
doesn't unmount the DVD drive and it just spits out error after error
about every two seconds.

Let's not get started on how buggy hal is.  That could turn into a huge
thread for sure and could lead to discussions about xorg-server and the
recent upgrade. 

Dale

:-)  :-) 



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Volker Armin Hemmann
On Mittwoch 10 Juni 2009, Alan McKinnon wrote:
 On Wednesday 10 June 2009 21:50:27 Alexander Pilipovsky wrote:
  But how many space on hard disk for it will be good?

 As much as you need.

 There's only one person who can determine that. That person is you.

my /var is 36gb in size.
But I also have portage and packages in /var - to keep the fragmentation of / 
down ... 
I still have more than 20gb free  but I use reiser4+compression.



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Dirk Heinrichs
Am Mittwoch 10 Juni 2009 22:49:39 schrieb Volker Armin Hemmann:
 my /var is 36gb in size.

Mine has only 2.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Lost free space on /

2009-06-10 Thread KH
Alan McKinnon schrieb:
 On Wednesday 10 June 2009 21:50:27 Alexander Pilipovsky wrote:
 But how many space on hard disk for it will be good?
 
 As much as you need.
 
 There's only one person who can determine that. That person is you.
 
 
 

Hi,

I am sorry but I think if someone asks about an opinion here, writing
something like: that's all you desision, gentoo is not taking your hand
for anything is not helpful at all.
We all know that our systems are fit to our personal needs. So every
system is different. But asking should leed to something like: consider
this, consider that ...

kh



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Alan McKinnon
On Wednesday 10 June 2009 23:24:50 KH wrote:
 Alan McKinnon schrieb:
  On Wednesday 10 June 2009 21:50:27 Alexander Pilipovsky wrote:
  But how many space on hard disk for it will be good?
 
  As much as you need.
 
  There's only one person who can determine that. That person is you.

 Hi,

 I am sorry but I think if someone asks about an opinion here, writing
 something like: that's all you desision, gentoo is not taking your hand
 for anything is not helpful at all.
 We all know that our systems are fit to our personal needs. So every
 system is different. But asking should leed to something like: consider
 this, consider that ...

And how EXACTLY do you want me to answer the original question? Be specific, 
You should have done blash responses don't help anyone. The question only 
has vague guidelines for answers and is totally install- and need-dependant.

Do keep in mind that the original is a do my homework for me question and my 
reply was designed to get the OP to look for himself. He didn't even post how 
big his current /var is or what his machine is used for or even which logs 
he'd like to have and keep.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Paul Hartman
On Wed, Jun 10, 2009 at 2:50 PM, Alexander
Pilipovskyalexander.pilipov...@gmail.com wrote:
 But how many space on hard disk for it will be good?

This depends on your usage, of course, and for what purpose you expect
to use /var. If you run a server with lots of logs, like a
high-traffic web server, you may want to ensure /var/log is in a place
with enough room. I use logrotate to archive and compress log files so
they don't take up too much space. In my case I have my temp dir as
/var/tmp (i think this is the default location), so things like
ripping/encoding/burning a DVD image can use sometimes near 25G of
temp space. Portage will also use (again, as default) for its temp
dir, so any aborted compile sessions and giant packages like
OpenOffice will need sufficient space as well. KDE pixmap cache is
using 1.5G in my user's tmp directory alone. And of course portage
itself stores the packages cache there.

All of the above can be changed, of course, or links/mounted to
different drives/partitions

I think the rule of thumb that applies is: calculate the greatest
amount of space you would ever realistically need and then double it.
:)



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Philip Webb
On Wed, Jun 10, 2009 at 2:50 PM, Alexander Pilipovsky wrote:
 But how many space on hard disk for it will be good?

I haven't followed this thread in detail, but has anyone suggested LVM ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Lost free space on /

2009-06-10 Thread Dale
Dirk Heinrichs wrote:
 Am Mittwoch 10 Juni 2009 22:49:39 schrieb Volker Armin Hemmann:
   
 my /var is 36gb in size.
 

 Mine has only 2.

 Bye...

   Dirk
   

Mine is about 300MBs right now.  It has been 1GB before tho.  This is a
desktop rig so no server stuff here.

Dale

:-)  :-)



Re: [gentoo-user] Lost free space on /

2009-06-10 Thread KH
Alan McKinnon schrieb:
 On Wednesday 10 June 2009 23:24:50 KH wrote:
 Alan McKinnon schrieb:
 On Wednesday 10 June 2009 21:50:27 Alexander Pilipovsky wrote:
 But how many space on hard disk for it will be good?
 As much as you need.

 There's only one person who can determine that. That person is you.
 Hi,

 I am sorry but I think if someone asks about an opinion here, writing
 something like: that's all you desision, gentoo is not taking your hand
 for anything is not helpful at all.
 We all know that our systems are fit to our personal needs. So every
 system is different. But asking should leed to something like: consider
 this, consider that ...
 
 And how EXACTLY do you want me to answer the original question? Be specific, 
 You should have done blash responses don't help anyone. The question only 
 has vague guidelines for answers and is totally install- and need-dependant.
 
 Do keep in mind that the original is a do my homework for me question and 
 my 
 reply was designed to get the OP to look for himself. He didn't even post how 
 big his current /var is or what his machine is used for or even which logs 
 he'd like to have and keep.
 
Hi,

I totaly do agree with you. There has been nothing indicated to give a
one out of one answer. In case someone is a noob, ( I am still one
because I don't no anything about how everything is working) what you
just wrote is the answer. Like what are your needs and what resurces do
you have?
Like I don't think it was something like do my homework but more like
I don't even know what to look for.
This list is realy helpful. I am often searching answers or learn by
reading but sometimes it is just infront of someone not even knowing it
is there.
The OP said nothing and this is what could be replyed. Like You said
nothing.
Often googling for something is leading to lists where absolutly no help
can be found because someone writes something like: what can I do.
secend replays like: do A. Frst: cool this did it for me. In the end
nobody else can use this solution because it is just not EXACT.
So you are right.

kh