From owner-freebsd-questions Fri Sep 26 12:33:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA23578 for questions-outgoing; Fri, 26 Sep 1997 12:33:34 -0700 (PDT) Received: from prometeo.prometeo.it (prometeo.prometeo.it [195.78.194.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA23571 for ; Fri, 26 Sep 1997 12:33:28 -0700 (PDT) Received: from goedel.prometeo.it (goedel.prometeo.it [195.78.194.3]) by prometeo.prometeo.it (8.8.6/8.8.6) with SMTP id VAA10732 for ; Fri, 26 Sep 1997 21:43:27 +0200 (MET DST) Message-Id: <199709261943.VAA10732@prometeo.prometeo.it> Comments: Authenticated sender is From: "Coi Giovanni" Organization: Prometeo srl To: freebsd-questions@freebsd.org Date: Fri, 26 Sep 1997 21:32:01 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: wd1: invalid primary partition table: no magic Reply-to: coi.giovanni@prometeo.it X-Confirm-Reading-To: coi.giovanni@prometeo.it X-pmrqc: 1 Priority: normal X-mailer: Pegasus Mail for Win32 (v2.54) Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello, I have read the tutorial on 'Formatting Media For Use With FreeBSD 2.2-RELEASE' and I tryed to add a second disk to my FreeBSD box. By the way it is a 2.1.7 release but I think will upgrading to 2.2.5 soon (when 2.2.5 will be release). I have a strange (for me) message when I execute some command like disklabel (or fsck) it display on console wd1: invalid primary partition table: no magic for example: dd if=/dev/zero of=/dev/rwd1 count=2 (this is ok) disklabel -e -r /dev/rwd1 (this rise the error/warning messages, then I edit the partition table and...) newfs /dev/rwd1a (this is ok) and all seem to work correctly! I may mount the partitions and copy some file (about 40 Mbyte) on them without apparently no problem. What does it means? ===================================================== Add the results of fsck and disklabel messages fdisk /dev/wd1c ----------------------------------------------------- ******* Working on device /dev/wd1c ******* parameters extracted from in-core disklabel are: cylinders=4092 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=4092 heads=16 sectors/track=63 (1008 blks/cyl) Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 0 is: The data for partition 1 is: The data for partition 2 is: The data for partition 3 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 1, size 4124735 (2014 Meg), flag 80 beg: cyl 0/ sector 2/ head 0; end: cyl 1020/ sector 1/ head 0 ===================================================== disklabel -r wd1 ----------------------------------------------------- # /dev/rwd1c: type: unknown disk: wd0s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 4092 sectors/unit: 4124736 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] a: 2000000 0 4.2BSD 0 0 0 # (Cyl. 0 - 1984*) b: 2124736 2000000 4.2BSD 0 0 0 # (Cyl. 1984*- 4091*) c: 4124736 0 unused 0 0 # (Cyl. 0 - 4091) Any suggestions? Thank you in advance. Giovanni Coi ---------------------------------------------------------- Prometeo srl - Progetti e Metodologie Informatiche Internet Services Provider Coi Giovanni Voice : +39 (041)5701366 Via Giudecca 15 Fax : +39 (041)5701005 30035 MIRANO (VE) - ITALY e-mail: coi@prometeo.it http://www.prometeo.it