Re: Disk errors and Reiserfs

Guus Sliepen (guus@warande3094.warande.uu.nl)
Mon, 17 Sep 2001 12:45:00 +0200


--ZGiS0Q5IWpPtfppv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=
=20
> > can kill the processes and unmount the partition? (Thus allowing the b=
ox=20
> > to continue in a hobbled, but function manner.) Failing that, is it=20
> > possible for the kernel to handle it well enough for 'shutdown' to clea=
nly=20
> > shutdown the box?
>=20
> 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 actu=
ally
detects some corruption. So these errors will not trigger an appropiate
response like remounting read-only or fscking on reboot.

--=20
Met vriendelijke groet / with kind regards,
Guus Sliepen <guus@sliepen.warande.net>

--ZGiS0Q5IWpPtfppv
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7pdQrAxLow12M2nsRAqqvAJ9JsLntuCcPqUZFIc9681bz0Ej8EACgpFrX
Jo6DNKuclU/6HdPbFl2GdSY=
=wBx1
-----END PGP SIGNATURE-----

--ZGiS0Q5IWpPtfppv--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/