* [gentoo-user] Lost free space on /
@ 2009-06-10 18:07 Alexander Pilipovsky
2009-06-10 18:12 ` Justin
2009-06-10 18:45 ` Dale
0 siblings, 2 replies; 43+ messages in thread
From: Alexander Pilipovsky @ 2009-06-10 18:07 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1311 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1560 bytes --]
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 18:07 [gentoo-user] Lost free space on / Alexander Pilipovsky
@ 2009-06-10 18:12 ` Justin
2009-06-10 18:24 ` Alexander Pilipovsky
2009-06-10 18:45 ` Dale
1 sibling, 1 reply; 43+ messages in thread
From: Justin @ 2009-06-10 18:12 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1593 bytes --]
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.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 18:12 ` Justin
@ 2009-06-10 18:24 ` Alexander Pilipovsky
2009-06-10 18:55 ` Paul Hartman
0 siblings, 1 reply; 43+ messages in thread
From: Alexander Pilipovsky @ 2009-06-10 18:24 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 323 bytes --]
2009/6/10 Justin <justin@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
[-- Attachment #2: Type: text/html, Size: 679 bytes --]
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 18:07 [gentoo-user] Lost free space on / Alexander Pilipovsky
2009-06-10 18:12 ` Justin
@ 2009-06-10 18:45 ` Dale
2009-06-10 19:27 ` Alexander Pilipovsky
1 sibling, 1 reply; 43+ messages in thread
From: Dale @ 2009-06-10 18:45 UTC (permalink / raw
To: gentoo-user
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
:-) :-)
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 18:24 ` Alexander Pilipovsky
@ 2009-06-10 18:55 ` Paul Hartman
2009-06-10 19:31 ` Alexander Pilipovsky
2009-06-10 19:40 ` Dirk Heinrichs
0 siblings, 2 replies; 43+ messages in thread
From: Paul Hartman @ 2009-06-10 18:55 UTC (permalink / raw
To: gentoo-user
On Wed, Jun 10, 2009 at 1:24 PM, Alexander
Pilipovsky<alexander.pilipovsky@gmail.com> wrote:
>
>
> 2009/6/10 Justin <justin@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.
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 18:45 ` Dale
@ 2009-06-10 19:27 ` Alexander Pilipovsky
0 siblings, 0 replies; 43+ messages in thread
From: Alexander Pilipovsky @ 2009-06-10 19:27 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1: Type: text/plain, Size: 729 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1185 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 18:55 ` Paul Hartman
@ 2009-06-10 19:31 ` Alexander Pilipovsky
2009-06-10 19:40 ` Dirk Heinrichs
1 sibling, 0 replies; 43+ messages in thread
From: Alexander Pilipovsky @ 2009-06-10 19:31 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1: Type: text/plain, Size: 930 bytes --]
Paul Hartman написав(ла):
> On Wed, Jun 10, 2009 at 1:24 PM, Alexander
> Pilipovsky<alexander.pilipovsky@gmail.com> wrote:
>
>> 2009/6/10 Justin <justin@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
[-- Attachment #1.2: Type: text/html, Size: 1635 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 18:55 ` Paul Hartman
2009-06-10 19:31 ` Alexander Pilipovsky
@ 2009-06-10 19:40 ` Dirk Heinrichs
2009-06-10 19:50 ` Alexander Pilipovsky
` (2 more replies)
1 sibling, 3 replies; 43+ messages in thread
From: Dirk Heinrichs @ 2009-06-10 19:40 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 407 bytes --]
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
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 19:40 ` Dirk Heinrichs
@ 2009-06-10 19:50 ` Alexander Pilipovsky
2009-06-10 20:21 ` Alan McKinnon
2009-06-10 21:48 ` Paul Hartman
2009-06-10 19:56 ` [gentoo-user] " KH
2009-06-10 19:56 ` Paul Hartman
2 siblings, 2 replies; 43+ messages in thread
From: Alexander Pilipovsky @ 2009-06-10 19:50 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1: Type: text/plain, Size: 569 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1028 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 19:40 ` Dirk Heinrichs
2009-06-10 19:50 ` Alexander Pilipovsky
@ 2009-06-10 19:56 ` KH
2009-06-10 20:01 ` Dirk Heinrichs
2009-06-10 20:25 ` Dale
2009-06-10 19:56 ` Paul Hartman
2 siblings, 2 replies; 43+ messages in thread
From: KH @ 2009-06-10 19:56 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 19:40 ` Dirk Heinrichs
2009-06-10 19:50 ` Alexander Pilipovsky
2009-06-10 19:56 ` [gentoo-user] " KH
@ 2009-06-10 19:56 ` Paul Hartman
2 siblings, 0 replies; 43+ messages in thread
From: Paul Hartman @ 2009-06-10 19:56 UTC (permalink / raw
To: gentoo-user
On Wed, Jun 10, 2009 at 2:40 PM, Dirk Heinrichs<dirk.heinrichs@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
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 19:56 ` [gentoo-user] " KH
@ 2009-06-10 20:01 ` Dirk Heinrichs
2009-06-10 20:25 ` Dale
1 sibling, 0 replies; 43+ messages in thread
From: Dirk Heinrichs @ 2009-06-10 20:01 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 269 bytes --]
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
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 19:50 ` Alexander Pilipovsky
@ 2009-06-10 20:21 ` Alan McKinnon
2009-06-10 20:49 ` Volker Armin Hemmann
2009-06-10 21:24 ` KH
2009-06-10 21:48 ` Paul Hartman
1 sibling, 2 replies; 43+ messages in thread
From: Alan McKinnon @ 2009-06-10 20:21 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 19:56 ` [gentoo-user] " KH
2009-06-10 20:01 ` Dirk Heinrichs
@ 2009-06-10 20:25 ` Dale
1 sibling, 0 replies; 43+ messages in thread
From: Dale @ 2009-06-10 20:25 UTC (permalink / raw
To: gentoo-user
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
:-) :-)
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 20:21 ` Alan McKinnon
@ 2009-06-10 20:49 ` Volker Armin Hemmann
2009-06-10 21:09 ` Dirk Heinrichs
2009-06-10 21:24 ` KH
1 sibling, 1 reply; 43+ messages in thread
From: Volker Armin Hemmann @ 2009-06-10 20:49 UTC (permalink / raw
To: gentoo-user
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.
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 20:49 ` Volker Armin Hemmann
@ 2009-06-10 21:09 ` Dirk Heinrichs
2009-06-10 22:47 ` Dale
0 siblings, 1 reply; 43+ messages in thread
From: Dirk Heinrichs @ 2009-06-10 21:09 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 124 bytes --]
Am Mittwoch 10 Juni 2009 22:49:39 schrieb Volker Armin Hemmann:
> my /var is 36gb in size.
Mine has only 2.
Bye...
Dirk
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 20:21 ` Alan McKinnon
2009-06-10 20:49 ` Volker Armin Hemmann
@ 2009-06-10 21:24 ` KH
2009-06-10 21:29 ` Alan McKinnon
1 sibling, 1 reply; 43+ messages in thread
From: KH @ 2009-06-10 21:24 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 21:24 ` KH
@ 2009-06-10 21:29 ` Alan McKinnon
2009-06-10 23:37 ` KH
0 siblings, 1 reply; 43+ messages in thread
From: Alan McKinnon @ 2009-06-10 21:29 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 19:50 ` Alexander Pilipovsky
2009-06-10 20:21 ` Alan McKinnon
@ 2009-06-10 21:48 ` Paul Hartman
2009-06-10 22:44 ` Philip Webb
1 sibling, 1 reply; 43+ messages in thread
From: Paul Hartman @ 2009-06-10 21:48 UTC (permalink / raw
To: gentoo-user
On Wed, Jun 10, 2009 at 2:50 PM, Alexander
Pilipovsky<alexander.pilipovsky@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.
:)
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 21:48 ` Paul Hartman
@ 2009-06-10 22:44 ` Philip Webb
2009-06-11 7:06 ` Dirk Heinrichs
0 siblings, 1 reply; 43+ messages in thread
From: Philip Webb @ 2009-06-10 22:44 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 21:09 ` Dirk Heinrichs
@ 2009-06-10 22:47 ` Dale
0 siblings, 0 replies; 43+ messages in thread
From: Dale @ 2009-06-10 22:47 UTC (permalink / raw
To: gentoo-user
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
:-) :-)
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 21:29 ` Alan McKinnon
@ 2009-06-10 23:37 ` KH
2009-06-11 16:03 ` bn
0 siblings, 1 reply; 43+ messages in thread
From: KH @ 2009-06-10 23:37 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 22:44 ` Philip Webb
@ 2009-06-11 7:06 ` Dirk Heinrichs
2009-06-11 7:24 ` Volker Armin Hemmann
2009-06-11 7:33 ` [gentoo-user] " Nikos Chantziaras
0 siblings, 2 replies; 43+ messages in thread
From: Dirk Heinrichs @ 2009-06-11 7:06 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 372 bytes --]
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
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-11 7:06 ` Dirk Heinrichs
@ 2009-06-11 7:24 ` Volker Armin Hemmann
2009-06-11 7:33 ` [gentoo-user] " Nikos Chantziaras
1 sibling, 0 replies; 43+ messages in thread
From: Volker Armin Hemmann @ 2009-06-11 7:24 UTC (permalink / raw
To: gentoo-user
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.
^ permalink raw reply [flat|nested] 43+ messages in thread
* [gentoo-user] Re: Lost free space on /
2009-06-11 7:06 ` Dirk Heinrichs
2009-06-11 7:24 ` Volker Armin Hemmann
@ 2009-06-11 7:33 ` Nikos Chantziaras
2009-06-11 7:40 ` Dirk Heinrichs
1 sibling, 1 reply; 43+ messages in thread
From: Nikos Chantziaras @ 2009-06-11 7:33 UTC (permalink / raw
To: gentoo-user
On 06/11/2009 10:06 AM, 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 ;)
I tried too but it slows down disk speed to a crawl when there's disk
activity by an order of magnitude (commands take 3-4 seconds to execute
while without LVM they give sub-second responses.)
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Re: Lost free space on /
2009-06-11 7:33 ` [gentoo-user] " Nikos Chantziaras
@ 2009-06-11 7:40 ` Dirk Heinrichs
2009-06-11 7:49 ` Volker Armin Hemmann
2009-06-11 8:17 ` Nikos Chantziaras
0 siblings, 2 replies; 43+ messages in thread
From: Dirk Heinrichs @ 2009-06-11 7:40 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 467 bytes --]
Am Donnerstag 11 Juni 2009 09:33:46 schrieb Nikos Chantziaras:
> I tried too but it slows down disk speed to a crawl when there's disk
> activity by an order of magnitude (commands take 3-4 seconds to execute
> while without LVM they give sub-second responses.)
Hmm, that's strange. I've never seen this and I use LVM since it first appeared
on Linux. On Laptops, I even encrypt the logical volumes without a significant
speed impact.
Bye...
Dirk
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Re: Lost free space on /
2009-06-11 7:40 ` Dirk Heinrichs
@ 2009-06-11 7:49 ` Volker Armin Hemmann
2009-06-11 8:02 ` Dirk Heinrichs
2009-06-11 8:17 ` Nikos Chantziaras
1 sibling, 1 reply; 43+ messages in thread
From: Volker Armin Hemmann @ 2009-06-11 7:49 UTC (permalink / raw
To: gentoo-user
On Donnerstag 11 Juni 2009, Dirk Heinrichs wrote:
> Am Donnerstag 11 Juni 2009 09:33:46 schrieb Nikos Chantziaras:
> > I tried too but it slows down disk speed to a crawl when there's disk
> > activity by an order of magnitude (commands take 3-4 seconds to execute
> > while without LVM they give sub-second responses.)
>
> Hmm, that's strange. I've never seen this and I use LVM since it first
> appeared on Linux. On Laptops, I even encrypt the logical volumes without a
> significant speed impact.
>
> Bye...
>
> Dirk
or you never 'saw' the impact because you are used to it.
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Re: Lost free space on /
2009-06-11 7:49 ` Volker Armin Hemmann
@ 2009-06-11 8:02 ` Dirk Heinrichs
0 siblings, 0 replies; 43+ messages in thread
From: Dirk Heinrichs @ 2009-06-11 8:02 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 152 bytes --]
Am Donnerstag 11 Juni 2009 09:49:02 schrieb Volker Armin Hemmann:
> or you never 'saw' the impact because you are used to it.
Errh, no.
Bye...
Dirk
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 43+ messages in thread
* [gentoo-user] Re: Lost free space on /
2009-06-11 7:40 ` Dirk Heinrichs
2009-06-11 7:49 ` Volker Armin Hemmann
@ 2009-06-11 8:17 ` Nikos Chantziaras
2009-06-11 13:52 ` Mike Kazantsev
1 sibling, 1 reply; 43+ messages in thread
From: Nikos Chantziaras @ 2009-06-11 8:17 UTC (permalink / raw
To: gentoo-user
On 06/11/2009 10:40 AM, Dirk Heinrichs wrote:
> Am Donnerstag 11 Juni 2009 09:33:46 schrieb Nikos Chantziaras:
>
>> I tried too but it slows down disk speed to a crawl when there's disk
>> activity by an order of magnitude (commands take 3-4 seconds to execute
>> while without LVM they give sub-second responses.)
>
> Hmm, that's strange. I've never seen this and I use LVM since it first appeared
> on Linux. On Laptops, I even encrypt the logical volumes without a significant
> speed impact.
It's only there where's disk activity. For example, if I have 4 or more
torrents downloading. When that happens, typing "mc" (to start midnight
commander) needs about 4 seconds. It's almost instant without LVM.
The speed impact on one of my servers (100+ shell users) was dramatic.
10 seconds for a simple "ls /" for example.
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Re: Lost free space on /
2009-06-11 8:17 ` Nikos Chantziaras
@ 2009-06-11 13:52 ` Mike Kazantsev
2009-06-11 14:16 ` Nikos Chantziaras
0 siblings, 1 reply; 43+ messages in thread
From: Mike Kazantsev @ 2009-06-11 13:52 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 796 bytes --]
On Thu, 11 Jun 2009 11:17:37 +0300
Nikos Chantziaras <realnc@arcor.de> wrote:
> It's only there where's disk activity. For example, if I have 4 or more
> torrents downloading. When that happens, typing "mc" (to start midnight
> commander) needs about 4 seconds. It's almost instant without LVM.
>
> The speed impact on one of my servers (100+ shell users) was dramatic.
> 10 seconds for a simple "ls /" for example.
It's not like LVM is modelling the universe' operation on your CPU, but
that's where impact should be, while disk activity (and data written)
should be roughly the same, aside from possible fragmentation if you
(re)create lv's on a daily basis, so prehaps it's not the disk but the
cpu where's the real bottleneck is?
--
Mike Kazantsev // fraggod.net
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 43+ messages in thread
* [gentoo-user] Re: Lost free space on /
2009-06-11 13:52 ` Mike Kazantsev
@ 2009-06-11 14:16 ` Nikos Chantziaras
0 siblings, 0 replies; 43+ messages in thread
From: Nikos Chantziaras @ 2009-06-11 14:16 UTC (permalink / raw
To: gentoo-user
On 06/11/2009 04:52 PM, Mike Kazantsev wrote:
> On Thu, 11 Jun 2009 11:17:37 +0300
> Nikos Chantziaras<realnc@arcor.de> wrote:
>
>> It's only there where's disk activity. For example, if I have 4 or more
>> torrents downloading. When that happens, typing "mc" (to start midnight
>> commander) needs about 4 seconds. It's almost instant without LVM.
>>
>> The speed impact on one of my servers (100+ shell users) was dramatic.
>> 10 seconds for a simple "ls /" for example.
>
> It's not like LVM is modelling the universe' operation on your CPU, but
> that's where impact should be, while disk activity (and data written)
> should be roughly the same, aside from possible fragmentation if you
> (re)create lv's on a daily basis, so prehaps it's not the disk but the
> cpu where's the real bottleneck is?
I know it's not the CPU since there's 'top' to check this.
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-10 23:37 ` KH
@ 2009-06-11 16:03 ` bn
2009-06-11 16:09 ` Alexander Pilipovsky
2009-06-12 10:48 ` KH
0 siblings, 2 replies; 43+ messages in thread
From: bn @ 2009-06-11 16:03 UTC (permalink / raw
To: gentoo-user
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.
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-11 16:03 ` bn
@ 2009-06-11 16:09 ` Alexander Pilipovsky
2009-06-11 16:32 ` Mick
2009-06-12 10:42 ` KH
2009-06-12 10:48 ` KH
1 sibling, 2 replies; 43+ messages in thread
From: Alexander Pilipovsky @ 2009-06-11 16:09 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1: Type: text/plain, Size: 1232 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1738 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-11 16:09 ` Alexander Pilipovsky
@ 2009-06-11 16:32 ` Mick
2009-06-12 10:42 ` KH
1 sibling, 0 replies; 43+ messages in thread
From: Mick @ 2009-06-11 16:32 UTC (permalink / raw
To: gentoo-user
2009/6/11 Alexander Pilipovsky <alexander.pilipovsky@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
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-11 16:09 ` Alexander Pilipovsky
2009-06-11 16:32 ` Mick
@ 2009-06-12 10:42 ` KH
1 sibling, 0 replies; 43+ messages in thread
From: KH @ 2009-06-12 10:42 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-11 16:03 ` bn
2009-06-11 16:09 ` Alexander Pilipovsky
@ 2009-06-12 10:48 ` KH
2009-06-12 10:58 ` Alan McKinnon
1 sibling, 1 reply; 43+ messages in thread
From: KH @ 2009-06-12 10:48 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-12 10:48 ` KH
@ 2009-06-12 10:58 ` Alan McKinnon
2009-06-12 12:59 ` Etaoin Shrdlu
0 siblings, 1 reply; 43+ messages in thread
From: Alan McKinnon @ 2009-06-12 10:58 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-12 10:58 ` Alan McKinnon
@ 2009-06-12 12:59 ` Etaoin Shrdlu
2009-06-12 16:05 ` Dale
0 siblings, 1 reply; 43+ messages in thread
From: Etaoin Shrdlu @ 2009-06-12 12:59 UTC (permalink / raw
To: gentoo-user
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.
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-12 12:59 ` Etaoin Shrdlu
@ 2009-06-12 16:05 ` Dale
2009-06-12 19:56 ` Alan McKinnon
0 siblings, 1 reply; 43+ messages in thread
From: Dale @ 2009-06-12 16:05 UTC (permalink / raw
To: gentoo-user
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
:-) :-)
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-12 16:05 ` Dale
@ 2009-06-12 19:56 ` Alan McKinnon
2009-06-12 20:24 ` Dirk Heinrichs
2009-06-13 10:08 ` Neil Bothwick
0 siblings, 2 replies; 43+ messages in thread
From: Alan McKinnon @ 2009-06-12 19:56 UTC (permalink / raw
To: gentoo-user; +Cc: Dale
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
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-12 19:56 ` Alan McKinnon
@ 2009-06-12 20:24 ` Dirk Heinrichs
2009-06-13 9:07 ` Alan McKinnon
2009-06-13 10:08 ` Neil Bothwick
1 sibling, 1 reply; 43+ messages in thread
From: Dirk Heinrichs @ 2009-06-12 20:24 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1031 bytes --]
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
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-12 20:24 ` Dirk Heinrichs
@ 2009-06-13 9:07 ` Alan McKinnon
0 siblings, 0 replies; 43+ messages in thread
From: Alan McKinnon @ 2009-06-13 9:07 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [gentoo-user] Lost free space on /
2009-06-12 19:56 ` Alan McKinnon
2009-06-12 20:24 ` Dirk Heinrichs
@ 2009-06-13 10:08 ` Neil Bothwick
1 sibling, 0 replies; 43+ messages in thread
From: Neil Bothwick @ 2009-06-13 10:08 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 584 bytes --]
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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 43+ messages in thread
end of thread, other threads:[~2009-06-13 10:08 UTC | newest]
Thread overview: 43+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-10 18:07 [gentoo-user] Lost free space on / Alexander Pilipovsky
2009-06-10 18:12 ` Justin
2009-06-10 18:24 ` Alexander Pilipovsky
2009-06-10 18:55 ` Paul Hartman
2009-06-10 19:31 ` Alexander Pilipovsky
2009-06-10 19:40 ` Dirk Heinrichs
2009-06-10 19:50 ` Alexander Pilipovsky
2009-06-10 20:21 ` Alan McKinnon
2009-06-10 20:49 ` Volker Armin Hemmann
2009-06-10 21:09 ` Dirk Heinrichs
2009-06-10 22:47 ` Dale
2009-06-10 21:24 ` KH
2009-06-10 21:29 ` Alan McKinnon
2009-06-10 23:37 ` KH
2009-06-11 16:03 ` bn
2009-06-11 16:09 ` Alexander Pilipovsky
2009-06-11 16:32 ` Mick
2009-06-12 10:42 ` KH
2009-06-12 10:48 ` KH
2009-06-12 10:58 ` Alan McKinnon
2009-06-12 12:59 ` Etaoin Shrdlu
2009-06-12 16:05 ` Dale
2009-06-12 19:56 ` Alan McKinnon
2009-06-12 20:24 ` Dirk Heinrichs
2009-06-13 9:07 ` Alan McKinnon
2009-06-13 10:08 ` Neil Bothwick
2009-06-10 21:48 ` Paul Hartman
2009-06-10 22:44 ` Philip Webb
2009-06-11 7:06 ` Dirk Heinrichs
2009-06-11 7:24 ` Volker Armin Hemmann
2009-06-11 7:33 ` [gentoo-user] " Nikos Chantziaras
2009-06-11 7:40 ` Dirk Heinrichs
2009-06-11 7:49 ` Volker Armin Hemmann
2009-06-11 8:02 ` Dirk Heinrichs
2009-06-11 8:17 ` Nikos Chantziaras
2009-06-11 13:52 ` Mike Kazantsev
2009-06-11 14:16 ` Nikos Chantziaras
2009-06-10 19:56 ` [gentoo-user] " KH
2009-06-10 20:01 ` Dirk Heinrichs
2009-06-10 20:25 ` Dale
2009-06-10 19:56 ` Paul Hartman
2009-06-10 18:45 ` Dale
2009-06-10 19:27 ` Alexander Pilipovsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox