Re: 2.4.26 IDE driver
From: John Stoffel
Date: Thu Nov 11 2004 - 10:33:17 EST
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
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
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.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/