Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275962 - Creating partitions over the 2Tb limit
Summary: Creating partitions over the 2Tb limit
Status: RESOLVED WONTFIX
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-30 15:43 UTC by Fabio Oleari
Modified: 2009-10-28 06:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Oleari 2009-06-30 15:43:23 UTC
Following the x86 handbook, in chap. 4 (Preparing the Disks) there's no reference to the problem that it's impossibile to handle big partitions in device bigger than 2Tb with fdisk. Moreover the partition table should be set to gpt instead of msdos.

With big devices should be used "parted" instead of "fdisk" and should be useful to write a dedicated section.

In the ia64 handbook (http://www.gentoo.org/doc/en/handbook/handbook-ia64.xml?part=1&chap=4) parted is the default tool used to prepare disks.
Comment 1 nm (RETIRED) gentoo-dev 2009-06-30 17:31:33 UTC
Okay, that's an extreme edge case, so it's assumed that if you need that kind of support, you know what you're doing already.

Also, not all of our install media contain parted. It's a rather specialized tool that isn't, for example, found on the x86 media.
Comment 2 Fabio Oleari 2009-06-30 17:49:16 UTC
(In reply to comment #1)
> Okay, that's an extreme edge case
Are you very sure? Small RAID arrays with 2 or 3 disks easily go over 2TB, especially now that a single disk reaches 2TB.

I think a little warning that informs the installer can avoid unpleasant surprises.

> Also, not all of our install media contain parted. It's a rather specialized
> tool that isn't, for example, found on the x86 media.
I'm not sure that this is true. I used parted and was present in the installation cd.
Comment 3 nm (RETIRED) gentoo-dev 2009-07-01 04:06:23 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Okay, that's an extreme edge case
> Are you very sure? Small RAID arrays with 2 or 3 disks easily go over 2TB,
> especially now that a single disk reaches 2TB.
> 
> I think a little warning that informs the installer can avoid unpleasant
> surprises.

Provide some instructions and we can see about adding it to the handbooks. I'm not sure that any of us have experience using parted for that kind of setup.

> > Also, not all of our install media contain parted. It's a rather specialized
> > tool that isn't, for example, found on the x86 media.
> I'm not sure that this is true. I used parted and was present in the
> installation cd.

It's very possible my media were missing a few bits. I spoke with our Releng lead, and he did say that parted should be present on x86 and some other arches, though those were not specified.
Comment 4 Fabio Oleari 2009-07-01 15:46:00 UTC
(In reply to comment #3)
> Provide some instructions and we can see about adding it to the handbooks. I'm
> not sure that any of us have experience using parted for that kind of setup.
> 

I think there are two possibility:
1) insert a small advice
2) write a "parted" dedicated section as an alternative to fdisk

(1)
In chap. 4.b after "Otherwise continue now with partitioning your disk by reading Using fdisk to Partition your Disk." insert:
"WARNING: If you are using devices bigger than 2Tb you should use "parted" instead of fdisk. See parted user manual for additional informations (http://www.gnu.org/software/parted/manual/html_mono/parted.html).

(2)
In chap. 4.b replace "Otherwise continue now with partitioning your disk by reading Using fdisk to Partition your Disk." with:
"Otherwise continue now with partitioning your disk. For devices smaller than 2Tb follow section Using fdisk to Partition your Disk. Otherwise if you are installing gentoo over big devices or raid systems with more than 2Tb, please follow section Using parted to Partition your Disk.

This section can be taken exactly as it is from IA64 handbook, chap. 4.c removing references to the ia64 architecture and to the need to create fat32 filesystem inside boot partition. I think this is only necessary for IA64 arch. I have my own ext2 boot partition and I don't have any problem.