Skip to contentSkip to conversation

howto create partitions bigger than 2TB

DISCUSSION Ingo Freund 5 participants 6 messages Jul 13, 2007 – Jul 17, 2007

lore
Share & tools
lore
#0 lore raw

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.

Thanks in advance,
Regards - Ingo.

#1 lore raw

Put a file system on the entire device, stop trying to partition it.

The standard DOS partition table is of no use to you above 2TB.

Sincerely -- Mark Salyzyn

Quoted 30 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Ingo Freund
Sent: Friday, July 13, 2007 8:55 AM
To: [email protected]
Subject: howto create partitions bigger than 2TB

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.

Thanks in advance,
Regards - Ingo.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
In reply to Ingo Freund
Quoted 10 lines · Ingo Freund

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?

Create a single RAID which covers the entire drive set (as it sounds like you have already done).

Then use LVM on top of that, instead of conventional partitions.

-ml

#3 lore raw
In reply to Ingo Freund
Quoted 14 lines · Ingo Freund

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.)

-hpa

#4 lore raw

On 14.07.2007 00:52, H. Peter Anvin wrote (please find the answer below the original text):

Quoted 16 lines
Quoted 14 lines · Ingo Freund

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.

Quoted 5 lines

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.

Thank you all very much for your hints.

Regards - Ingo.

#5 lore raw
Quoted 23 lines · Ingo Freund

On 14.07.2007 00:52, H. Peter Anvin wrote (please find the answer below the original text):

Quoted 16 lines
Quoted 14 lines · Ingo Freund

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.

Quoted 5 lines

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.)

Quoted 9 lines

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?

Signature · 3 lines
Jesper Juhl <[email protected]>
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