From owner-freebsd-stable Sun Jun 10 15:10:15 2001 Delivered-To: freebsd-stable@freebsd.org Received: from jezebel.demon.co.uk (jezebel.demon.co.uk [158.152.38.143]) by hub.freebsd.org (Postfix) with ESMTP id F29C737B409 for ; Sun, 10 Jun 2001 15:09:55 -0700 (PDT) (envelope-from rdls@jezebel.demon.co.uk) Received: (from rdls@localhost) by jezebel.demon.co.uk (8.11.1/8.11.1) id f5AM6nd00743; Sun, 10 Jun 2001 23:06:49 +0100 (BST) (envelope-from rdls) Date: Sun, 10 Jun 2001 23:06:48 +0100 From: Richard Smith To: Juha Saarinen Cc: "Freebsd-Stable@Freebsd. Org" Subject: Re: Disk geometry oddity Message-ID: <20010610230647.A665@gaia.home.rdls.net> References: <00d601c0f142$6f5a0540$0a01a8c0@den2> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00d601c0f142$6f5a0540$0a01a8c0@den2>; from juha@saarinen.org on Sun, Jun 10, 2001 at 12:15:19PM +1200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jun 10, 2001 at 12:15:19PM +1200, Juha Saarinen wrote: > I'm in the process of removing a concatenated vinum volume, consisting > of a partition/slice on da0 plus the entire da1. The two drives are 36GB > SCSI. > > I removed the vinum configuration with 'vinum resetconfig' and then just > created a new partition etc. on da1 and mounted it. Then I wanted to > reclaim the rest of the unused disk space on da0 (about 18GB) with > /stand/sysinstall, but got this warning that I haven't seen before. > >[snip] > > Fdisk says: > > > Disk name: da0 FDISK Partition > Editor > DISK Geometry: 4462 cyls/255 heads/63 sectors = 71682030 sectors > (35000MB) > > Offset Size(ST) End Name PType Desc Subtype > Flags > > 0 71687340 71687339 da0s1 3 freebsd 165 > C > > > Which is presumably the "more likely geometry". The amount of sectors in > the warning message works out as 71,686,800 which is 4,770 more than > what fdisk thinks. > > I don't get warning message with da1, however. > > Is this a side-effect of "dangerously dedicated mode"? I'm hesitant to > make any changes to the partition table of da0 at this stage. Yes. I got this when I moved a disk from "dangerously dedicated mode" to, er, "not dangerously dedicated mode". By allowing sysinstall to use a "more likely" geometry, it fixed the problem, see also FAQ 1.17. In case you weren't aware, "dangerously dedicated mode" is still available, albeit not recommended, using the (purposely) undocumented 'F' key. Rich. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message