Re: Software RAID1 (with non-identical discs) performance

From: Michael Tokarev
Date: Tue Dec 19 2006 - 09:34:38 EST


Wiebe Cazemier wrote:
> For some reason, your message doesn't appear in the GMane mail-to-news gateway.
> I've quoted your message here. Hopefully, the quoting isn't messed up.
>
>> The entire concept of geometry is a a carryover from days gone by. These days
> it is just a farse maintained for backwards compatibility. You can put fdisk
> into sector mode with the 'u' command and create partitions of any number of
> sectors you desire, regardless of the perceived geometry.
[]
> My concern wasn't so much about the different speeds of the drives, but the
> fact that they have a different geometry. But, because you said that is
> simulated anyway, can I assume that as long as both drives are equal in speed,
> using different types of drives doesn't matter?

Think of "PnP geometry" supported by all nowadays drives.

It's 255 heads, 63 sectors per track, and whatever number of cylinders.

You start cfdisk (sorry don't remember options for other *fdisk) like this,
on an empty disk:

cfdisk -H 255 -S 63 /dev/sda

And after creating the partition table, kernel switches to this "PnP geometry"
mode automatically.

So regardless of how many actual heads or sectors your HDD has, it will always
work the same way.

/mjt
-
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/