From owner-freebsd-current Sat Oct 3 18:25:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA03495 for freebsd-current-outgoing; Sat, 3 Oct 1998 18:25:04 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from friley-185-114.res.iastate.edu (friley-185-114.res.iastate.edu [129.186.185.114]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA03478 for ; Sat, 3 Oct 1998 18:24:58 -0700 (PDT) (envelope-from ccsanady@friley-185-114.res.iastate.edu) Received: from friley-185-114.res.iastate.edu (loopback [127.0.0.1]) by friley-185-114.res.iastate.edu (8.9.1/8.9.1) with ESMTP id UAA04660 for ; Sat, 3 Oct 1998 20:24:37 -0500 (CDT) (envelope-from ccsanady@friley-185-114.res.iastate.edu) Message-Id: <199810040124.UAA04660@friley-185-114.res.iastate.edu> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-current@FreeBSD.ORG Subject: Partition weirdness.. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 03 Oct 1998 20:24:36 -0500 From: Chris Csanady Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a couple of partitions that have been behaving somewhat odd. Also, I have gotten a number of messages recently (from newfs--i think), about not being able to rewrite the disklabel. Has anyone else been seen this? On 2 of my bios partitions, I can not write to the second sector. Doing so will cause the following: friley-185-114:/# dd if=/dev/zero of=/dev/rda0s4e bs=512 count=1 seek=1 dd: /dev/rda0s4e: Read-only file system If I seek past 2 sectors, or only write the first sector, I have no trouble. Does anyone know what might be causing this? My disklabel, and fdisk output follow.. ******* Working on device /dev/rda0 ******* parameters extracted from in-core disklabel are: cylinders=393 heads=255 sectors/track=63 (16065 blks/cyl) parameters to be used for BIOS calculations are: cylinders=393 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 1445787 (705 Meg), flag 80 (active) beg: cyl 0/ sector 1/ head 1; end: cyl 89/ sector 63/ head 254 The data for partition 2 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 2104515, size 2104515 (1027 Meg), flag 0 beg: cyl 131/ sector 1/ head 0; end: cyl 261/ sector 63/ head 254 The data for partition 3 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 4209030, size 2104515 (1027 Meg), flag 0 beg: cyl 262/ sector 1/ head 0; end: cyl 392/ sector 63/ head 254 The data for partition 4 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 1445850, size 658665 (321 Meg), flag 0 beg: cyl 90/ sector 1/ head 0; end: cyl 130/ sector 63/ head 254 # /dev/rda0s4c: type: SCSI disk: da0s4 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 41 sectors/unit: 658665 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: 658665 0 unused 0 0 # (Cyl. 0 - 40) e: 65536 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 4*) f: 593129 65536 4.2BSD 0 0 0 # (Cyl. 4*- 40*) Thanks, Chris Csanady To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message