Date: Sat, 03 Oct 1998 20:24:36 -0500 From: Chris Csanady <ccsanady@friley-185-114.res.iastate.edu> To: freebsd-current@FreeBSD.ORG Subject: Partition weirdness.. Message-ID: <199810040124.UAA04660@friley-185-114.res.iastate.edu>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810040124.UAA04660>