From owner-freebsd-questions@FreeBSD.ORG Tue May 16 17:40: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 BC8D016AA01 for ; Tue, 16 May 2006 17:40:16 +0000 (UTC) (envelope-from nagylzs@freemail.hu) Received: from smtp.enternet.hu (smtp.enternet.hu [62.112.192.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A20443D5F for ; Tue, 16 May 2006 17:40:15 +0000 (GMT) (envelope-from nagylzs@freemail.hu) Received: from [62.68.187.58] (helo=[172.16.0.43]) by smtp.enternet.hu with esmtpa (Exim 4) id 1Fg3Wm-000L3S-Qe; Tue, 16 May 2006 19:40:12 +0200 Message-ID: <446A0EA7.1020006@freemail.hu> Date: Tue, 16 May 2006 19:40:55 +0200 From: =?ISO-8859-2?Q?Nagy_L=E1szl=F3_Zsolt?= User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: gayn.winters@bristolsystems.com, freebsd-questions@freebsd.org References: <021701c6790c$a9d784c0$6501a8c0@workdog> In-Reply-To: <021701c6790c$a9d784c0$6501a8c0@workdog> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: gmirror and partitioning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 17:40:20 -0000 > 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 thought is that > you need to zero ad8 to make sure gmirror isn't confused. Try that (dd > if=/dev/zero of=/dev/ad8) at least for several blocks. Then reboot and > post dmesg. > Hello Gayns, Good to see you again. :-) backupserver# dd if=/dev/zero of=/dev/ad8 count=4096 4096+0 records in 4096+0 records out 2097152 bytes transferred in 0.686872 secs (3053192 bytes/sec) < then I rebooted > backupserver# gmirror insert gm0 /dev/ad8 Provider ad8 too small. Here are the important parts from my dmesg: ... atapci0: port 0x9010-0x9017,0x9400-0x9403,0x9810-0x9817,0x9c00-0x9c03,0xa000-0xa00f 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 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0 ata0: on atapci1 ata1: on atapci1 atapci2: port 0xd000-0xd007,0xd400-0xd403,0xd800-0xd807,0xdc00-0xdc03,0xe000-0xe00f irq 19 at device 31.2 on pci0 atapci2: failed to enable memory mapping! .... 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=934763830). 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 This is really wreid! The hard disks are the same: SAMSUNG HD160JJ ZM100-33. But one is bigger than the other. How could this happen? Should I reinstall everything from the beginning? :-( Best, Laszlo