Subject: Re: Unable to newfs logical disk in 1.6I-i386
To: Sean J. Schluntz <schluntz@workofstone.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 10/09/2002 20:22:26
On Wed, Oct 09, 2002 at 09:34:56AM -0700, Sean J. Schluntz wrote:
>
> Greetings,
>
> I have a Compaq dual PPro 200 with the Compaq SMART2 RAID card
> on it. It has two logical disk setups, ld0 (a two disk mirror)
> and ld1 (a seven disk RAID5).
>
> NetBSD 1.6-release from the ISO images was able to disklabel both
> logical disks and lay out a file system. I then sup'd down 1.6I
> (sup marked 1033814515) and build a new kernel (which works great
> with both processors) and then build the world.
>
> Now I get a sector 16 read-only error when trying to run newfs on
> the ld1a partition. This is with the GENERIC.MP as well as the
> GENERIC kernels.
>
> Here is the disklabel info on the logical disk:
>
> # disklabel /dev/ld1
> # /dev/ld1d:
> type: ld
> disk: unknown
> label: fictitious
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 128
> sectors/cylinder: 8064
> cylinders: 6237
> total sectors: 50299515
> rpm: 7200
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0 # microseconds
> track-to-track seek: 0 # microseconds
> drivedata: 0
>
> 16 partitions:
> # size offset fstype [fsize bsize cpg/sgs]
> a: 50299515 0 4.2BSD 2048 16384 46 # (Cyl. 0 - 6237*)
> d: 50299515 0 unused 0 0 # (Cyl. 0 - 6237*)
Maybe you should not start your a partition on sector 0. It steps on the
disklabel.
Try to start a on cylinder one (i.e. offset = 8064).
--
Manuel Bouyer <bouyer@antioche.eu.org>
--