[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SCSI hard drives with wrong size!



On Sun, 2003-11-23 at 01:49, Carlos Eduardo Coelho Baptista wrote:
> hello everybody! i have a Powermac 8500/150 with 2 hard drives + cdrom, 
> as shown :

[...]

> SCSI device sda: 12594960 512-byte hdwr sectors (6449 MB)

[...]

> SDA is a 6,4gb HD with 12594960 sectors .... (with 6449mb size as shown 
> in dmesg)
> 
> but when i run pdisk or try to format it using disk initializer via 
> MacOS , they detect this 6,4gb hard disk as a 6,1gb hard disk , what can 
> it be?

[...]

> Device block size=512, Number of Blocks=12594959 (6.0G)

Do the math yourself:

12594959 * 512 / 1024^3 = 6.005744457

12594959 * 512 / 1000^3 = 6.448619008

Looks like the kernel uses 1000 instead of 1024, just like HD
manufacturers.


-- 
Earthling Michel Dänzer      |     Debian (powerpc), X and DRI developer
Software libre enthusiast    |   http://svcs.affero.net/rm.php?r=daenzer



Reply to: