[rsyslog] Development of failsafe disk based queue

david at lang.hm david at lang.hm
Wed Oct 1 15:35:01 CEST 2008


On Wed, 1 Oct 2008, david at lang.hm wrote:

> On Wed, 1 Oct 2008, Rainer Gerhards wrote:
>
>> Even then, in the worst case, I think it would be possible that the disk
>> does only a partial write. I am not sure if that's really the case with
>> today's disk drives (which I think have capacitors to prevent this
>> scenario), but with past drives this could happen (I know all too well -
>> a few years ago that cost me a weekend ;)).
>
> current disks do not have capacitors to prevent partial writes or to flush
> their caches. but options like the linux ext3 data-journaled make it so
> that you have your data in the journal safely, and the various solid-state
> options solve that problem.

actually, I need to correct my answer.

I know that disks do not have capacitors large enough to write their 
buffer.

I'm pretty sure that they don't have capacitors large enough to write an 
entire track.

but they may have capacitors large enough to finish the sector they are on 
before stopping (considering the number of sectors in a track nowdays this 
is a _very_ sort time)

David Lang



More information about the rsyslog mailing list