Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 1997 18:30:57 -0600 (MDT)
From:      Brandon Gillespie <brandon@roguetrader.com>
To:        hardware@freebsd.org
Subject:   disklabel fstype changes from 4.4BSD to System V?
Message-ID:  <Pine.BSF.3.96.970903182436.268A-100000@roguetrader.com>

next in thread | raw e-mail | index | archive | help
I'm trying to add a Conner SCSI disk to my system.  I'm running
2.2.2-RELEASE, with an AHA-2940W controller.  The drive probes as:

(ahc0:3:0): "CONNER CFP1060E SUN1.05 245C" type 0 fixed SCSI 2
sd1(ahc0:3:0): Direct-Access 1010MB (2070400 512 byte sectors)

However, /stand/sysinstall doesn't seem to want to work right.  I can add
and write-out a partition for it (just allocating the whole disk to the
partition--both True or untrue partition entries cause the same problem,
explained below).  However, when I go to label I try to make a single
filesystem for the whole drive and it gives me the error when I write it
out:

       Error mounting /dev/sd1s1e on /u4 : Invalid argument

So I tried what the FAQ suggested, and did a direct disklabel -e sd1..
editing and adding the partition so my disk label looks like:

------------------------------------------------------------------------
# /dev/rsd1c:
type: SCSI
disk: sd1s1
label:
flags:
bytes/sector: 512
sectors/track: 3
tracks/cylinder: 36
sectors/cylinder: 108
cylinders: 19169
sectors/unit: 2070357
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 bps/cpg]
  c:  2070357        0    unused        0     0         # (Cyl.    0 -19169*)
  e:  2070357        0    4.4BSD        0     0     0   
------------------------------------------------------------------------

I can write and save it without receiving any errors.  However, viewing
the disklabel again shows that partition e has mutated to:

  e:  2070357        0  System V                        # (Cyl.    0 -19169*)

Anybody have an idea as to what is occuring?

-Brandon Gillespie




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970903182436.268A-100000>