Subject: 1.6_STABLE newfs panics with huge (~ 1 TB) partition
To: None <current-users@netbsd.org>
From: Markus W Kilbinger <kilbi@rad.rwth-aachen.de>
List: current-users
Date: 11/18/2002 23:49:23
Hi!

After tweaking down my raid's partition size a bit lower than 1 TB (Is
it still the ffs partition size limit?):

  # disklabel raid1
  # /dev/rraid1d:
  type: RAID
  disk: raid
  label: default label
  flags:
  bytes/sector: 512
  sectors/track: 896
  tracks/cylinder: 32
  sectors/cylinder: 28672
  cylinders: 74898
  total sectors: 2147482624
  rpm: 3600
  interleave: 1
  trackskew: 0
  cylinderskew: 0
  headswitch: 0           # microseconds
  track-to-track seek: 0  # microseconds
  drivedata: 0 
  
  4 partitions:
  #        size    offset     fstype  [fsize bsize cpg/sgs]
   a: 2147482624         0     4.2BSD   2048 16384    40   # (Cyl.    0 - 74898*)
   d: 2147482624         0     4.2BSD      0     0     0   # (Cyl.    0 - 74898*)

I tried to newfs it:

  # newfs /dev/raid1a 
  Floating point exception (core dumped)

What did I wrong!?

Markus.