Subject: Re: disklabel for a Sun 2.1GB SCSI disk (IBM manufacture)?
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Gilles Gravier <Gilles@Gravier.org>
List: port-sparc64
Date: 12/02/2001 20:03:58
Hi!

So my disk says:

8188 cyl, 3 head, 172 sect, 512 bytes/sect x 4226725 sectors

So that translates in:

bytes/sector: 512
sectors/track: 172
tracks/cylinder: 3
sectors/cylinder: 516 # 3 * 172
cylinders: 8188
total sectors: 4226725

Right?

But 8188*516=4225008 sectors... when the disk says 4226725 ?

Am I missing something?

Gilles




Manuel Bouyer wrote:
> 
> On Sun, Dec 02, 2001 at 07:49:43PM +0100, Gilles Gravier wrote:
> > Indeed it does... but disklabel asks for many more values (like
> > sectors per track - at boot time there is no mention of tracks and
> > a few others)...
> 
> The kernel should tell you something like:
> 8223 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 16841664 sectors
> In the disklanel this gives:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 16
> sectors/cylinder: 1008 # 16 * 63
> cylinders: 16383
> total sectors: 16841664
> 
> Other values aren't of much interest.
> Also don't forget to make an entry for the raw partition:
>  c:  16841664         0     unused      0     0
> 
> --
> Manuel Bouyer <bouyer@antioche.eu.org>
> --

--
-- Gilles Gravier = Gilles@Gravier.org = http://www.gravier.org/ --
   PGP Key ID: 0x8DE6D026                          ICQ: 77488526
 "Chastity is its own punishment." (Solomon Short) [David Gerrold]