Messages in this thread |  | | Subject | Re: Disk errors and Reiserfs | Date | Mon, 17 Sep 2001 01:40:36 +0100 (BST) | From | Alan Cox <> |
| |
> My issue, though, is Linux did not handle it well. Userspace actually has > an 'EIO' error code for this situation but, instead, any program touching > the mounted partition hung in a D state.
Thats a reiserfs property and one you'll find in pretty much any other fs.
> 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.
Alan - 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/
|  |