From owner-freebsd-scsi Fri May 9 09:39:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA14415 for freebsd-scsi-outgoing; Fri, 9 May 1997 09:39:31 -0700 (PDT) Received: from kremvax.demos.su (kremvax.demos.su [194.87.0.20]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id JAA14408 for ; Fri, 9 May 1997 09:39:27 -0700 (PDT) Received: by kremvax.demos.su (8.6.13/D) from 0@sinbin.demos.su [194.87.0.31] with ESMTP id UAA21162; Fri, 9 May 1997 20:38:25 +0400 Received: by sinbin.demos.su id UAA01396; (8.6.12/D) Fri, 9 May 1997 20:38:06 +0400 From: bag@sinbin.demos.su (Alex G. Bulushev) Message-Id: <199705091638.UAA01396@sinbin.demos.su> Subject: Re: no magic In-Reply-To: <199705091406.RAA01013@shadows.aeon.net> from mika ruohotie at "May 9, 97 05:06:01 pm" To: bsdscsi@shadows.aeon.net (mika ruohotie) Date: Fri, 9 May 1997 20:38:06 +0400 (MSD) Cc: scsi@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31H (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk u need disklabel -B sd3 Alex. > 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 >