Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60632 - mdadm-1.2.0 is broken on large devices
Summary: mdadm-1.2.0 is broken on large devices
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: All All
: High critical
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
: 61205 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-16 21:31 UTC by delta407
Modified: 2006-03-24 13:46 UTC (History)
2 users (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 delta407 2004-08-16 21:31:51 UTC
Attempting to use mdadm-1.2.0 on a 1.5 TB device yields:

------------
# fdisk /dev/sda

Command (m for help): p

Disk /dev/sda: 1498.9 GB, 1498918420480 bytes
255 heads, 63 sectors/track, 182233 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         125     1004031   fd  Linux raid autodetect
/dev/sda2             126      182233  1462782510   fd  Linux raid autodetect

Command (m for help): q

# mdadm --create /dev/md1 -c 64 -l multipath -n 2 /dev/sda2 /dev/sdc2
mdadm: /dev/sda2 is too small: -684701138K
mdadm: /dev/sdc2 is too small: -684701138K
mdadm: create aborted
------------

This appears to be the result of mdadm's use of signed 32-bit integers relating to capacity variables. mdadm-1.6.0 does not suffer from this issue. What is keeping it out of KEYWORDS="x86"?
Comment 1 Matthew Schulkind 2004-08-20 23:13:46 UTC
Is this really a bug then?

If it is resolved in a newer version that's already in portage, feel free to use it.
Comment 2 SpanKY gentoo-dev 2004-08-20 23:19:57 UTC
1.6.0 moved to stable
Comment 3 SpanKY gentoo-dev 2004-08-21 23:44:16 UTC
*** Bug 61205 has been marked as a duplicate of this bug. ***
Comment 4 Jeffrey Forman (RETIRED) gentoo-dev 2006-03-24 13:46:24 UTC
Moving to Release Media/Installer.