Subject: Re: Disklabel on large (>8gig) disks
To: Stuart Brooks <stuartb@cat.co.za>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-users
Date: 02/26/2000 12:13:53
On Fri, 25 Feb 2000, Stuart Brooks wrote:

> I would really appreciate any help on this. Is there a way to detect drive
> size past 8 gig and if so, can one use disklabel to set the disk size past 8
> gig?
> 
> Thanks
> 	Stuart
> 
> Drive = IBM 20.3 GB
> Model DJNA-352030

For what it's worth, when applying the prototype disklabel for the
following disk, only the first four partitions would take. After
rebooting and reapplying repeatedly, they all took eventually. This is
with 1.4.2_ALPHA. Wierd.

# /dev/rwd1d:
type: unknown
disk: Maxtor 92049U6  
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 40026672
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 0	# milliseconds
drivedata: 0 

8 partitions:
#        size   offset     fstype   [fsize bsize   cpg]
  a:   907137       63     4.2BSD     1024  8192    16   # (Cyl.    0*- 899)
  b:   403200   907200       swap                        # (Cyl.  900 - 1299)
  c: 40026609       63     unused        0     0         # (Cyl.    0*- 39708)
  d: 40026672        0     unused        0     0         # (Cyl.    0 - 39708)
  e:  1008000  1310400     4.2BSD     1024  8192    16   # (Cyl. 1300 - 2299)
  f:  5040000  2318400     4.2BSD     1024  8192    16   # (Cyl. 2300 - 7299)
  g:  5040000  7358400     4.2BSD     1024  8192    16   # (Cyl. 7300 - 12299)
  h: 27628272 12398400     4.2BSD     1024  8192    16   # (Cyl. 12300 - 39708)