Re: disk spin down with lots of log files
- From: Jean-David Beyer <jeandavid8@xxxxxxxxxxx>
- Date: Tue, 18 Nov 2008 10:56:53 GMT
Hal Murray wrote:
I have a nice small low power box setup to log all sorts of things,By Murphey's law, the system would crash just before your hours of log data was written to disk, so you would have nothing to debug with.
like temperature and line voltage. It's plugged into a UPS. I want
it to last as long as possible when power goes out.
I want to spin the disk down to save power. But there is a lot of
activity writing log files to the disk, so just spinning it down
when it's idle won't help much.
I'm looking for a recipe to buffer all the log files in RAM and
occasionally copy the updates back to the disk. (Say every few
hours. I have lots of RAM.)
Has anybody done this? Is there a good HOWTO on this, or close to this?
Is there a better approach? I can plug in a flash card if that helps.
If you have two or more computers on a LAN, why not have each machine keep its log files on the other?
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ PGP-Key: 9A2FC99A Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 05:55:01 up 5 days, 15:03, 4 users, load average: 4.29, 4.26, 4.11
.
- Follow-Ups:
- Re: disk spin down with lots of log files
- From: Hal Murray
- Re: disk spin down with lots of log files
- From: The Natural Philosopher
- Re: disk spin down with lots of log files
- References:
- disk spin down with lots of log files
- From: Hal Murray
- disk spin down with lots of log files
- Prev by Date: disk spin down with lots of log files
- Next by Date: Re: disk spin down with lots of log files
- Previous by thread: disk spin down with lots of log files
- Next by thread: Re: disk spin down with lots of log files
- Index(es):
Relevant Pages
|