lkml.org 
[lkml]   [2001]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Disk errors and Reiserfs
On Mon, Sep 17, 2001 at 01:40:36AM +0100, Alan Cox wrote:

> > Is it possible for the kernel to handle this with enough grace that you
> > can kill the processes and unmount the partition? (Thus allowing the box
> > to continue in a hobbled, but function manner.) Failing that, is it
> > possible for the kernel to handle it well enough for 'shutdown' to cleanly
> > shutdown the box?
>
> Killing the process isnt neccessary, its been halted in its tracks. As to
> a clean shutdown - no chance. You've just hit a disk failure, the on disk
> state is not precisely known, writes have been lost. Nothing is going to
> make a clean shutdown possible under such circumstances.

Of course. But I did notice that (for ext2) the filesystem dirty flag is not
set if there are errors from the underlying block device, only when it actually
detects some corruption. So these errors will not trigger an appropiate
response like remounting read-only or fscking on reboot.

--
Met vriendelijke groet / with kind regards,
Guus Sliepen <guus@sliepen.warande.net>
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.073 / U:3.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site