From owner-freebsd-current@FreeBSD.ORG Wed Sep 10 02:44:17 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED7D716A4BF for ; Wed, 10 Sep 2003 02:44:17 -0700 (PDT) Received: from mailspool.ops.uunet.co.za (mailspool.ops.uunet.co.za [196.7.0.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EFBB43F93 for ; Wed, 10 Sep 2003 02:44:15 -0700 (PDT) (envelope-from ianf@za.uu.net) Received: from copernicus.so.cpt1.za.uu.net ([196.30.72.32]) by mailspool.ops.uunet.co.za with esmtp (Exim 3.36 #1) id 19x1WH-0008cV-00 for freebsd-current@freebsd.org; Wed, 10 Sep 2003 11:44:13 +0200 Received: from localhost ([127.0.0.1] helo=za.uu.net) by copernicus.so.cpt1.za.uu.net with esmtp (Exim 3.36 #1) id 19x1WE-000MBJ-00 for freebsd-current@freebsd.org; Wed, 10 Sep 2003 11:44:10 +0200 To: freebsd-current@freebsd.org From: Ian Freislich X-image-url: http://www.digs.iafrica.com/gallery/ian-small.gif X-BOFH: true X-LART: Depleted uranium X-No-Junk-Mail: I do not want to get *any* junk mail. You have been deleted. Date: Wed, 10 Sep 2003 11:44:10 +0200 Message-ID: <85268.1063187050@za.uu.net> Sender: ianf@za.uu.net Subject: bsdlabel wierd. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2003 09:44:18 -0000 Hi I was experimenting with growfs yesterday and I noticed this wierd thing crop up in my label. Notice the 'a' partition which I can no longer get rid of and appears automatically. using bsdlabel -e I have to delete this partition if I want to change any of the other partitions (it complains about overlapping partitions otherwise). [brane-dead] / # bsdlabel /dev/ad0s1 # /dev/ad0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 20044064 16 unused 0 0 c: 20044080 0 unused 1024 8192 # "raw" part, don't edit e: 20044080 0 4.2BSD 1024 8192 46248 What am I missing? BTW, growfs barfed too with a 'rdfs: read error'. [brane-dead] /var/log # fdisk /dev/ad0 ******* Working on device /dev/ad0 ******* parameters extracted from in-core disklabel are: cylinders=19885 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=19885 heads=16 sectors/track=63 (1008 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 (0xa5),(FreeBSD/NetBSD/386BSD) start 0, size 20044080 (9787 Meg), flag 80 (active) beg: cyl 0/ head 0/ sector 1; end: cyl 428/ head 15/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: Ian