Re: 3TB disk hassles

From: H. Peter Anvin
Date: Fri Dec 17 2004 - 22:11:23 EST


Followup to: <20041218001254.GA8886@xxxxxxxxxxxxxxxxxxx>
By author: Andries Brouwer <aebr@xxxxxxxxxx>
In newsgroup: linux.dev.kernel
>
> Yes, indeed.
>
> One can use a standard DOS-type partition table, and pick a new type -
> I reserved 88 for this purpose today - where type 88 indicates a
> plaintext partition table found elsewhere on the disk.
> Where is elsewhere? In the starting sector of the type 88 partition
> (that can have length 1).
> This allows one to have the initial part of the disk (at most 2 TB)
> partitioned in old-fashioned manner.
>
> The plaintext partition table is just a table with lines
> <start> <size>
> that one can edit with emacs or vi.
>
> There is magic to recognize it, namely the line
> "# Plaintext partition table"
> and magic to indicate the end of the table, namely "# end".
>
> That is all. If anybody wants it I can send the trivial code.
> (Am using it now, but unfortunately I do not have 3 TB disks.)
>

First, what's wrong with the GUID partition table format? Let's stick
to standards as long as they work; especially for things that
potentially affect multiple operating systems.

Second, several problems with this. Sector 0 is the boot sector, so
using it is a really bad choice. (I'd reserve several sector for
master boot code.) In fact, rather than having a separate partition,
why don't we just specify that a sector starting with "# Plaintext partition
table" has to start within the first 64 sectors of the disk (it's
common for DOS partition tables to have the first partition start at
offset 63.)

Third, it ought to be possible to put more information than this,
e.g. for raid detect.

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