Slashdot Mirror


The Many Paths To Data Corruption

Runnin'Scared writes "Linux guru Alan Cox has a writeup on KernelTrap in which he talks about all the possible ways for data to get corrupted when being written to or read from a hard disk drive. This includes much of the information applicable to all operating systems. He prefaces his comments noting that the details are entirely device specific, then dives right into a fascinating and somewhat disturbing path tracing data from the drive, through the cable, into the bus, main memory and CPU cache. He also discusses the transfer of data via TCP and cautions, 'unfortunately lots of high performance people use checksum offload which removes much of the end to end protection and leads to problems with iffy cards and the like. This is well studied and known to be very problematic but in the market speed sells not correctness.'"

9 of 121 comments (clear)

  1. Keep your porn on separate physical drives! by eln · · Score: 5, Funny

    The most common way for young data to be corrupted is to be saved on a block that once contained pornographic data. As we all know, deleting data alone is not sufficient, as that will only remove the pointer to the data while leaving the block containing it undisturbed. This allows a young piece of data to easily see the old porn data as it is being written to that block. For this reason, it is imperative that you keep all pornographic data on separate physical drives.

    In addition, you should never access young data and pornographic data in the same session, as the young impressionable data may get corrupted by the pornographic data if they exist in RAM at the same time.

    Data corruption is a serious problem in computing today, and it is imperative that we take steps to stop our young innocent data from being corrupted.

    1. Re:Keep your porn on separate physical drives! by king-manic · · Score: 3, Funny

      In addition, you should never access young data and pornographic data in the same session, as the young impressionable data may get corrupted by the pornographic data if they exist in RAM at the same time.

      indeed, young pornographic data is disturbing. Fortunately there is a legal social firewall of 18.

      --
      "There are more things in heaven and earth, Horatio, than are dreamt of in your philosophy."
  2. Paul Cylon by HTH+NE1 · · Score: 3, Funny

    There must be 50 ways to lose your data.

    --
    Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
  3. MySQL? by Jason+Earl · · Score: 4, Funny

    I was expecting an article on using MySQL in production.

  4. Re:No by Slashcrap · · Score: 5, Funny

    Or errors can corrupt both the data and the checksum so they match each other.

    This is about as likely as simultaneously winning every current national and regional lottery on the planet. And then doing it again next week.

    And if we're talking about a 512 bit hash then it's possible that a new planet full of lotteries will spontaneously emerge from the quantum vacuum. And you'll win all those too.

  5. HEY. by yoyhed · · Score: 2, Funny

    TFA doesn't list ALL the possible ways data can be corrupted. It fails to mention the scenario of Dark Data (an evil mirror of your data, happens more commonly with RAID 1) corrupting your data with Phazon. In this case, the only way to repair the corruption is to send your data on a quest to different hard drives across the world (nay, the GALAXY) to destroy the Seeds that spread the corruption.

    --
    WHO NEEDS SHIFT WHEN YOU HAVE CAPSLOCK/ DAMN1
  6. Re:No by TruthfulLiar · · Score: 2, Funny

    > And if we're talking about a 512 bit hash then it's possible that a new planet full of lotteries will spontaneously emerge from the quantum vacuum. And you'll win all those too.

    If this happens, be sure to keep the money from the quantum vacuum lotteries in a separate account, or it will annihilate with your real money.

  7. Re:Girlfriend? by StarfishOne · · Score: 2, Funny

    No, girlfriend waveforms can collapse in such a way that one can actually have one. This may not happen often when combined with the /. waveform.. but every now and then it does happen. ;)

  8. Glitch on the bus, Gus! by billstewart · · Score: 2, Funny
    Burned out fan, Stan.

    ...


    You can make up some more yourself....

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks