Re: howto create partitions bigger than 2TB

From: Jesper Juhl
Date: Tue Jul 17 2007 - 07:39:41 EST


On 17/07/07, Ingo Freund <linux-kernel-news@xxxxxxxxxx> wrote:
On 14.07.2007 00:52, H. Peter Anvin wrote (please find the answer below the original text):
> Ingo Freund wrote:
>> Hi
>>
>> I've got a RAID5 (driver aacraid for an ICP9047MA) with four
>> 750GB hdds which provides a 2.25TB sized device.
>> None of the until now used tools will work with that device.
>> fdisk complains about missing cylinder count.
>> cfdisk misses the device size.
>> parted shows the right device size but only creates a partion
>> with 51GB.
>> What am I supposed to do to work with this device?
>> Which fs can handle it?
>> (CONFIG LARGE BLOCK is on)
>> We are talking about a 32Bit machine with vanilla kernel 2.6.21.5.
>>
>
> You have to use GPT partitions instead of DOS partitions (although you
> may have to leave your /boot as an DOS partitions, this is supposed to
> be possible as the two partitioning schemes are designed to coexist, but
> I don't think parted has support for it yet.)
>

This is the solution (for use as a data container on a backup machine):

parted /dev/sdb:
(parted) mklabel gpt
(parted) mkpart p 0 100%
(parted) quit
mkreiserfs /dev/sdb1
...and all seems to work.


Why not simply
mkreiserfs /dev/sdb
and forget about partitions entirely?

--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
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/