mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "John Stoffel" <stoffel@lucent.com>
To: "Siddhesh Bhadkamkar" <siddheish@hotmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.26 IDE driver
Date: Thu, 11 Nov 2004 10:19:16 -0500	[thread overview]
Message-ID: <16787.33524.397332.953427@gargle.gargle.HOWL> (raw)
In-Reply-To: <BAY2-F311s7nlT2NqFJ0002718f@hotmail.com>


Siddhesh> we are trying to modify IDE driver as a possible workaround
Siddhesh> for an unreliable storage media.

Yuck, don't do that, just use the Linux RAID tools and mirror your
data.

Siddhesh> this driver will expose only a part of the disk to file
Siddhesh> system by reporting the disk capacity as say
Siddhesh> real_capacity/4. remaining disk will be hidden from the file
Siddhesh> system. in write operation driver will try to write the same
Siddhesh> data in all 4 parts of the same disk for redundancy. in read
Siddhesh> it will hope to find atleast one copy properly written.

Use the 'md' raid modules instead.  You can divide the disk(s) into
multiple volumes, then mirror/stripe your data across that instead.
If a disk fails, you're toast if you haven't got data on another
disk.

If it's the media that's possibly flaky, then partitioning into
multiple areas and using 'md' to RAID across partitions might help.
Performance will suck though.  

If the underlying media is flaky, then you're going to have lots and
lots of problems.

John


      parent reply	other threads:[~2004-11-11 15:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-11 14:56 Siddhesh Bhadkamkar
2004-11-11 14:03 ` Alan Cox
2004-11-11 15:19 ` John Stoffel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16787.33524.397332.953427@gargle.gargle.HOWL \
    --to=stoffel@lucent.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=siddheish@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®