Re: critical bugs in md raid5

From: Marc (pcg_at_goof.com)
Date: 01/27/05

  • Next message: John Richard Moser: "Re: /proc parent &proc_root == NULL?"
    Date:	Thu, 27 Jan 2005 07:48:39 +0100
    To: Andi Kleen <ak@muc.de>
    
    

    On Thu, Jan 27, 2005 at 06:11:34AM +0100, Andi Kleen <ak@muc.de> wrote:
    > Marc Lehmann <linux-kernel@plan9.de> writes:
    > >
    > > The summary seems to be that the linux raid driver only protects your data
    > > as long as all disks are fine and the machine never crashes.
    >
    > "as long as the machine never crashes". That's correct. If you think

    Thanks for your thoughts, btw :)

    I forgot to mention that even if data is known to be lost it's much better
    to return, say, EIO to higher levels than to completely shut down the
    device (after all, this is no differnce to what other block devices behave).

    Also, it's still likely that some old error can be repaired, as the broken
    non-parity block might be old. This is probably better to be handled in
    userspace, though, with special tools. But for them it might be vital to
    get the correct disk index, to be able to detect the stripe layout.

    It's usually much faster to repair and verify, as opposed to format and
    restore, of course.

    -- 
                    The choice of a
          -----==-     _GNU_
          ----==-- _       generation     Marc Lehmann
          ---==---(_)__  __ ____  __      pcg@goof.com
          --==---/ / _ \/ // /\ \/ /      http://schmorp.de/
          -=====/_/_//_/\_,_/ /_/\_\      XX11-RIPE
    -
    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/
    

  • Next message: John Richard Moser: "Re: /proc parent &proc_root == NULL?"

    Relevant Pages

    • Re: One more try...lost permissions on drives
      ... I have lost all permissions on the other disks and partitions. ... root partition on the boot drive. ... Next choose the repair option. ...
      (alt.os.linux.suse)
    • Re: One more try...lost permissions on drives
      ... I have lost all permissions on the other disks and partitions. ... root partition on the boot drive. ... all the shit locked in these drives onto CDs, get rid of SuSE (which I ... Next choose the repair option. ...
      (alt.os.linux.suse)
    • RE: Toshiba Windows XP Home Ed not starting up
      ... effect, and for the repair part, do I have use a recovery disk? ... 'r' for repair at the startup screen. ... If it has a floppy drive, there are disks to download and create that get ... But when the Toshiba is on the TOSHIBA: ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: Help with repair boot disk - repair is not detecting boot disk
      ... I've never heard of these four "repair" disks. ... Description of the Windows 2000 Recovery Console ... | Windows 2000 system files so I am trying to use the repair boot disks. ...
      (microsoft.public.win2000.general)
    • Re: Creating a backup restore CD not floppy
      ... is installed and remains if a repair and not a recovery is done no longer ... disks I will be stuck with unsupported SP1. ... well as the work described above by creating my own restore disk on ...
      (microsoft.public.windowsxp.general)