From: Andries Brouwer <Andries.Brouwer@cwi.nl>
To: micah milano <micaho@gmail.com>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>,
Andries Brouwer <andries.brouwer@cwi.nl>,
linux-kernel@vger.kernel.org
Subject: Re: SiI3112 Serial ATA Maxtor 6Y120M0 incorrect geometry detected
Date: Mon, 27 Sep 2004 21:31:32 +0200 [thread overview]
Message-ID: <20040927193130.GC1398@apps.cwi.nl> (raw)
In-Reply-To: <70fda32040927085019a5cd91@mail.gmail.com>
On Mon, Sep 27, 2004 at 10:50:23AM -0500, micah milano wrote:
> I agree that parted reports an error, however I think there is
> something else going on. When I run fdisk there is a different CHS
> reported for each disk, even though they are the same geometry.
A disk does not have a geometry, so two disks, even when identical
cannot be said to have the same geometry.
A geometry is a phantom, invented, depending on many parameters,
and one of them is the interface used. So, the same disk may get
different geometries on hdb and hdc.
See the FAQ http://www.win.tue.nl/~aeb/linux/Large-Disk-14.html#ss14.2
"14.2 Nonproblem: Identical disks have different geometry?"
> I can't partition the second disk to have the same partition sizes as
> the other disk because of this. I only mentioned parted because I was
> trying every partitioner there is.
Most existing partitioners allow you to specify your favourite
geometry.
> I was hoping someone might have a solution for how I can
> partition this second identical disk so it has identical partition
> sizing as the first so I can put software RAID mirroring on them. From
> what it sounds like you guys are saying (IANALKH) dmesg is reporting
> the wrong CHS, and parted has a fix for its error, but is there
> something I can do to get the partition sizing right?
No, it is entirely different. CHS is completely arbitrary and fake.
At least, as long as your disk is Linux only.
As soon as you use Windows on the same disk, you must be careful
to invent the same numbers that the BIOS will invent.
So, you think of some numbers - your birthday or so - and specify
the same numbers to fdisk while partitioning both disks.
Common numbers are S=63 and H=255. Don't specify C if you can avoid it.
Andries
prev parent reply other threads:[~2004-09-27 19:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-25 19:14 SiI3112 Serial ATA Maxtor 6Y120M0 incorrect geometry detected micah milano
2004-09-25 21:03 ` micah milano
2004-09-25 22:15 ` Bartlomiej Zolnierkiewicz
2004-09-25 23:44 ` Alan Cox
2004-09-26 10:29 ` Andries Brouwer
2004-09-26 10:59 ` Bartlomiej Zolnierkiewicz
2004-09-27 15:50 ` micah milano
2004-09-27 19:31 ` Andries Brouwer [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=20040927193130.GC1398@apps.cwi.nl \
--to=andries.brouwer@cwi.nl \
--cc=bzolnier@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=micaho@gmail.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