From owner-freebsd-questions@FreeBSD.ORG Wed May 17 16:00:16 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77C9016ACF0 for ; Wed, 17 May 2006 16:00:16 +0000 (UTC) (envelope-from gayn.winters@bristolsystems.com) Received: from fed1rmmtao04.cox.net (fed1rmmtao04.cox.net [68.230.241.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26C6A43D77 for ; Wed, 17 May 2006 16:00:10 +0000 (GMT) (envelope-from gayn.winters@bristolsystems.com) Received: from workdog ([68.5.182.86]) by fed1rmmtao04.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060517160010.ZNYF17501.fed1rmmtao04.cox.net@workdog>; Wed, 17 May 2006 12:00:10 -0400 From: "Gayn Winters" To: =?iso-8859-1?Q?'Nagy_L=E1szl=F3_Zsolt'?= , Date: Wed, 17 May 2006 09:02:12 -0700 Organization: Bristol Systems Inc. Message-ID: <028801c679cb$4525b960$6501a8c0@workdog> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <446AD0D2.8020208@freemail.hu> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Importance: Normal Cc: Subject: RE: gmirror and partitioning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gayn.winters@bristolsystems.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 16:00:21 -0000 > From: Nagy L=E1szl=F3 Zsolt [mailto:nagylzs@freemail.hu]=20 > Sent: Wednesday, May 17, 2006 12:29 AM > To: gayn.winters@bristolsystems.com; freebsd-questions@freebsd.org > Subject: Re: gmirror and partitioning >=20 >=20 >=20 > >> acd0: CDROM at ata0-master PIO4 > >> ad8: 152626MB at ata4-master SATA150 > >> ad10: 152627MB at ata5-master SATA150 > >> =20 > > Sadly, yes; or buy a bigger second disk. You could do the=20 > install on the > > smaller disk first, or you could make ad10s1 smaller. > > =20 > Okay, I did this. But I'm still interested in the topic. The=20 > size of a=20 > hard drive is determined by the manufacturer. It depends on how many=20 > sectors, heads and cylinders present in the device. The=20 > actual available=20 > size can be smaller because of bad sectors on the disc. But=20 > the BIOS (or=20 > FreeBSD) should detect the full size, including all sectors. These=20 > devices are identical. Then how in the hell could it add one=20 > more MB to=20 > the second device? I presume if I swap drives between ata4-master and=20 > ata5-master then still ad10 would be bigger. Is this a bug in FreeBSD? >=20 > Laszlo Hi Laszlo, No bugs; I think this is normal. Both the BIOS and the OS are only going to see the blocks the hard drive thinks are useable. Even though the drive geometry is "fictitious", most people still recommend defining your slices to begin and end on cylinder boundaries. I assume this makes accessing blocks in the slice a few nanoseconds faster, but I'm actually not sure. Perhaps someone on the list knows more detail. In any case, if you do this for as10s1 gmirror will replicate this property to the other disk. You'll also most likely have a few blocks left over. As for units of MB, I'm not sure. Could be rounding. Can we assume your gmirror is now working? Best regards, -gayn Bristol Systems Inc. 714/532-6776 www.bristolsystems.com=20