From owner-freebsd-stable Sat Jun 9 17:15:45 2001 Delivered-To: freebsd-stable@freebsd.org Received: from vimfuego.saarinen.org (saarinen.org [203.79.82.14]) by hub.freebsd.org (Postfix) with ESMTP id CCF6437B401 for ; Sat, 9 Jun 2001 17:15:39 -0700 (PDT) (envelope-from juha@saarinen.org) Received: from [192.168.1.10] (helo=den2) by vimfuego.saarinen.org with esmtp (Exim 3.22 #1 (Red Hack)) id 158stF-0004MC-00 for ; Sun, 10 Jun 2001 12:15:37 +1200 From: "Juha Saarinen" To: "Freebsd-Stable@Freebsd. Org" Subject: Disk geometry oddity Date: Sun, 10 Jun 2001 12:15:19 +1200 Message-ID: <00d601c0f142$6f5a0540$0a01a8c0@den2> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal 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 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. lqqqqqqqqqqqqqqqqqqqqqqqqqqqq Message qqqqqqqqqqqqqqqqqqqqqqqqqqqqqk xWARNING: A geometry of 99565/40/18 for da0 is incorrect. Using x xa more likely geometry. If this geometry is incorrect or you x xare unsure as to whether or not it's correct, please consult x xthe Hardware Guide in the Documentation submenu or use the x x(G)eometry command to change it now. x x x xRemember: you need to enter whatever your BIOS thinks the x xgeometry is! For IDE, it's what you were told in the BIOS x xsetup. For SCSI, it's the translation mode your controller is x xusing. Do NOT use a ``physical geometry''. x tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq(100%)qqu x [ OK ] x mqqqqqqqqqqqqqqqqqqq[ Press enter to continue ]qqqqqqqqqqqqqqqqqqqqj 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. If this is described in a FAQ/How-To/mailing list archive somewhere, apologies and please direct me to the right place... :-) Cheers, -- Juha To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message