Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 1997 17:06:01 +0300 (EET DST)
From:      mika ruohotie <bsdscsi@shadows.aeon.net>
To:        scsi@freebsd.org
Subject:   no magic
Message-ID:  <199705091406.RAA01013@shadows.aeon.net>

next in thread | raw e-mail | index | archive | help
uh, i did

disklabel -rw sd3 auto
disklabel -e sd3

for my new scsi drive as suggested on this list ages ago (i use 2.2-STABLE)
but now even though the drive works, it tells me:

May  9 16:28:47 pluto /kernel: sd3: invalid primary partition table: no magic

i made one partition: (that a: line)

pluto# disklabel -r sd3
# /dev/rsd3c:
type: SCSI				<- i put this
disk: sd3				<- and this
label: 
flags:
bytes/sector: 512
sectors/track: 32			<- edited this
tracks/cylinder: 64			<- this too
sectors/cylinder: 2048			<- and this
cylinders: 4148
sectors/unit: 8496884			<- didnt touch
rpm: 3600				<- didnt, but why is it 3600?
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

3 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  8495104        0    4.2BSD        0     0     0   # (Cyl.    0 - 4147)
  c:  8496884        0    unused        0     0         # (Cyl.    0 - 4148*)


on a seagate cuda:

(ahc0:6:0): "SEAGATE ST34371W 0484" type 0 fixed SCSI 2
sd3(ahc0:6:0): Direct-Access 4148MB (8496884 512 byte sectors)
sd3(ahc0:6:0): with 5172 cyls, 10 heads, and an average 164 sectors/track


what did i miss? it newfs:ed and works... (bonnied it heavily =)  )


mickey



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705091406.RAA01013>