Re: critical bugs in md raid5

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

  • Next message: Shawn Starr: "Re: [PATCH 2.6.11-rc2] I2C: lm80 driver improvement -"
    Date:	Thu, 27 Jan 2005 17:56:28 +0100
    To: Andi Kleen <ak@muc.de>
    
    

    On Thu, Jan 27, 2005 at 10:51:02AM +0100, Andi Kleen <ak@muc.de> wrote:
    > The nasty part there is that it can affect completely unrelated
    > data too (on a traditional disk you normally only lose the data
    > that is currently being written) because of of the relationship
    > between stripes on different disks.

    Sorry, I must be a bit dense at times I understood that now, you meant in
    the case where parity is lost and you have an I/O error in other cases.

    > There were some suggestions in the past
    > to be a bit nicer on read IO errors - often if a read fails and you rewrite
    > the block from the reconstructed data the disk would allocate a new block
    > and then be error free again.
    >
    > The problem is just that when there are user visible IO errors
    > on a modern disk something is very wrong and it will likely run quickly out

    Also, linux already does re-write failed parity blocks automatically on
    a crash, so whatever damage you might think might be done to the disk
    will already be done at numerous occasions, as linux in general nor the
    raid driver in particular checks for bad blocks before rewriting (I don't
    suggets that it does, just that linux already rewrites failed blocks if it
    doesn't know about them, and this hasn't been a particular bad problem).

    -- 
                    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: Shawn Starr: "Re: [PATCH 2.6.11-rc2] I2C: lm80 driver improvement -"

    Relevant Pages

    • Re: Panasonic HD Recorders - What disk format?
      ... The earlier part of this is more about what may be Linux partitioning, ... might be possible to present the recorder with a larger disk already ... Most DOS/Windows utilities such as FDisk, Ghost, and Partition Magic Pro ... prompts to format it. ...
      (alt.os.linux)
    • Re: defrag in linux?
      ... heads of your HD advance sequentially through the hard disk. ... fragmentation is a concern when one ... On the other hand, if you are Linux, you reorder the ... 'file fragmented' Linux file system and a 'file unfragmented' Linux ...
      (alt.os.linux.suse)
    • Re: dos defragmentation utility
      ... | I have been using linux for school since a last spring and have since ... heads of your HD advance sequentially through the hard disk. ... fragmentation is a concern when one ... 'file fragmented' Linux file system and a 'file unfragmented' Linux ...
      (comp.os.linux.questions)
    • [ANNOUNCE]: RIP Linux rescue system!
      ... This is a bootable CD Linux boot/rescue system! ... The bootable CD image `RIP-12.7.iso.bin' can be written to a CD disk, ... It also includes the CD/DVD UDF filesystem packet writing tools (cdrwtool, ... a Linux reiserfs and reiser4 filesystem. ...
      (comp.os.linux.announce)
    • Re: Gparted help
      ... underestimated the amount of disk space I would need for the Linux ... boot your Mac OS system CD ... The firewire drives can also have a USB 2.0 interface as well so they ...
      (comp.os.linux.powerpc)