Re: disk spin down with lots of log files
- From: The Natural Philosopher <a@xxx>
- Date: Tue, 18 Nov 2008 12:42:51 +0000
Jean-David Beyer wrote:
Hal Murray wrote:well try a ram disk, and rsync it with somewhere every few hours ...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?
.
- References:
- disk spin down with lots of log files
- From: Hal Murray
- Re: disk spin down with lots of log files
- From: Jean-David Beyer
- disk spin down with lots of log files
- Prev by Date: Re: disk spin down with lots of log files
- Next by Date: Re: disk spin down with lots of log files
- Previous by thread: Re: disk spin down with lots of log files
- Next by thread: Re: disk spin down with lots of log files
- Index(es):
Relevant Pages
|