From owner-freebsd-questions@FreeBSD.ORG Tue May 16 17:58:53 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 3B74C16AE99 for ; Tue, 16 May 2006 17:58:53 +0000 (UTC) (envelope-from gayn.winters@bristolsystems.com) Received: from fed1rmmtao07.cox.net (fed1rmmtao07.cox.net [68.230.241.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA8D043D5A for ; Tue, 16 May 2006 17:58:52 +0000 (GMT) (envelope-from gayn.winters@bristolsystems.com) Received: from workdog ([68.5.182.86]) by fed1rmmtao07.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060516175852.TRED27327.fed1rmmtao07.cox.net@workdog>; Tue, 16 May 2006 13:58:52 -0400 From: "Gayn Winters" To: =?iso-8859-1?Q?'Nagy_L=E1szl=F3_Zsolt'?= , Date: Tue, 16 May 2006 11:00:52 -0700 Organization: Bristol Systems Inc. Message-ID: <021f01c67912$af05c140$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: <446A0EA7.1020006@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: Tue, 16 May 2006 17:58:53 -0000 > From: Nagy L=E1szl=F3 Zsolt [mailto:nagylzs@freemail.hu]=20 > Sent: Tuesday, May 16, 2006 10:41 AM > To: gayn.winters@bristolsystems.com; freebsd-questions@freebsd.org > Subject: Re: gmirror and partitioning >=20 > > Hi Laszlo, > > > > Well it looks like you've got gm0 up and running. I assume you've > > edited /etc/fstab so that it boots cleanly. My first=20 > thought is that > > you need to zero ad8 to make sure gmirror isn't confused. =20 > Try that (dd > > if=3D/dev/zero of=3D/dev/ad8) at least for several blocks. =20 > Then reboot and > > post dmesg. > > =20 >=20 > Hello Gayns, >=20 > Good to see you again. :-) >=20 > backupserver# dd if=3D/dev/zero of=3D/dev/ad8 count=3D4096 > 4096+0 records in > 4096+0 records out > 2097152 bytes transferred in 0.686872 secs (3053192 bytes/sec) >=20 > < then I rebooted > >=20 > backupserver# gmirror insert gm0 /dev/ad8 > Provider ad8 too small. >=20 > Here are the important parts from my dmesg: >=20 > ... >=20 > atapci0: port=20 > 0x9010-0x9017,0x9400-0x9403,0x9810-0x9817,0x9c00-0x9c03,0xa000-0xa00f=20 > irq 22 at device 6.0 on pci4 > ata2: on atapci0 > ata3: on atapci0 > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci1: port=20 > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device=20 > 31.1 on pci0 > ata0: on atapci1 > ata1: on atapci1 > atapci2: port=20 > 0xd000-0xd007,0xd400-0xd403,0xd800-0xd807,0xdc00-0xdc03,0xe000-0xe00f=20 > irq 19 at device 31.2 on pci0 > atapci2: failed to enable memory mapping! >=20 > .... >=20 > acd0: CDROM at ata0-master PIO4 > ad8: 152626MB at ata4-master SATA150 > ad10: 152627MB at ata5-master SATA150 > SMP: AP CPU #1 Launched! > GEOM_MIRROR: Device gm0 created (id=3D934763830). > GEOM_MIRROR: Device gm0: provider ad10 detected. > GEOM_MIRROR: Device gm0: provider ad10 activated. > GEOM_MIRROR: Device gm0: provider mirror/gm0 launched. > Trying to mount root from ufs:/dev/mirror/gm0s1a > bge0: link state changed to UP >=20 >=20 > This is really wreid! The hard disks are the same: SAMSUNG HD160JJ=20 > ZM100-33. But one is bigger than the other. How could this happen?=20 > Should I reinstall everything from the beginning? :-( >=20 >=20 > Best, >=20 > Laszlo Sadly, yes; or buy a bigger second disk. You could do the install on the smaller disk first, or you could make ad10s1 smaller. -gayn Bristol Systems Inc. 714/532-6776 www.bristolsystems.com=20