Linux IDE & RAID Rebuid Issue

From: Venkat (rpraneshnews@yahoo.com)
Date: Thu Jun 19 2003 - 15:43:08 EST


Hi all,
I have two IDE controllers in my mother board
(Serverworks and Silicon Image CMD 680) . I have two
Maxtor IDE Drives(same model, same capacity) connected
to the IDE controllers (One drive per controller).
Linux detects the drives but the number of heads
reported by the controller/BIOS/Linux is different.
For one drive linux reports 64 heads and for the other
drive it reports 255 heads. This is causing a problem
with RAID rebuilding. The below text explains the
problem in detail.

I create a RAID drive across both the drives.I want to
create a 512 MB partition on both the drives, but
Redhat installatiion program creates 512MB partition
on one drive and 520MB partition on the other drive. I
assume that this discrepanies is due to different Head
count.

This is OK when the RAID drives are created, because
the RAID drive takes the smallest size(512MB)

But the problem happens when the one of the drives is
pulled out and a new partition of same size is created
and the RAID drives are rebuilt. When i create the
same size partition on the new drive using FDISK, it
is not exactly the size i want (512MB). It creates a
509 MB Partition on the new drive. This causes the MD
RAID driver to fail the rebuild.
The new drive is also of the same type and same model
as the drive pulled out.

So i assume that if Linux reports the same head count
for the both the drives, the problem should be solved.
I am not an expert on Linux IDE subtree. Can anyone
explain or give a fix?

If anyone needs more info please feel free to contact
me.
Thanks
Venkatesh
PS:
Please CC me on replies as i am not subsribed to the list.

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
-
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/



This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:30 EST