Subject: File system > 1 Terabyte
To: None <current-users@NetBSD.org>
From: Selvan Naidoo <selvany@cat.co.za>
List: current-users
Date: 09/29/2004 16:51:45
Hi all,

I have a query with regards to disk storage in excess of 1 Terabyte.
I have a 1.6.2 Stable unit that's attached to SCSI Raid unit with a capacity
of approximately 1,2 Terabytes.

It seems that disklabel cannot correctly interpret disk capacities in excess
of 1 Terabyte (see below).
I am not actually going to newfs the large partition (g) - just the small
partition (f). I intend writing to the large partition using the raw device
(/dev/rsd0g).

I do realize that the disklabel for NetBSD 2.0 has been updated and does
support drive capacities in excess of 1 Terabyte.
For practical reasons, I would ideally need a solution to this for NetBSD
1.6.2 stable.

Is there a patch for this in NetBSD 1.6.2 STABLE?

Many thanks,

Selvan


# /dev/rsd0d:
type: SCSI
disk: X16
label: fictitious
flags:
bytes/sector: 512
sectors/track: 128
tracks/cylinder: 128
sectors/cylinder: 16384
cylinders: 132522
total sectors: -2123726848
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

7 partitions:
#        size    offset     fstype  [fsize bsize cpg/sgs]
 d: -2123726848         0     unused      0     0         # (Cyl.    0 -
132521)
 f:   2048000        63     4.2BSD   2048 16384    23   # (Cyl.    0*- 125*)
 g: -2125774911   2048063     4.2BSD      0     0     0   # (Cyl.  125*-
132521)