From owner-freebsd-stable@FreeBSD.ORG Mon Mar 26 23:44:05 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E3A016A400 for ; Mon, 26 Mar 2007 23:44:05 +0000 (UTC) (envelope-from joe@zircon.seattle.wa.us) Received: from dsl254-019-221.sea1.dsl.speakeasy.net (dsl254-019-221.sea1.dsl.speakeasy.net [216.254.19.221]) by mx1.freebsd.org (Postfix) with SMTP id 4E65113C483 for ; Mon, 26 Mar 2007 23:44:05 +0000 (UTC) (envelope-from joe@zircon.seattle.wa.us) Received: (qmail 49731 invoked from network); 26 Mar 2007 23:44:05 -0000 Received: from localhost (HELO ?127.0.0.1?) (127.0.0.1) by localhost with SMTP; 26 Mar 2007 23:44:05 -0000 Message-ID: <46085AC5.7060904@zircon.seattle.wa.us> Date: Mon, 26 Mar 2007 16:44:05 -0700 From: Joe Kelsey User-Agent: Thunderbird 1.5.0.9 (X11/20070120) MIME-Version: 1.0 To: stable@freebsd.org References: <4606E163.9000506@zircon.seattle.wa.us> In-Reply-To: <4606E163.9000506@zircon.seattle.wa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: gmirror Issues X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2007 23:44:05 -0000 Joe Kelsey wrote: > I am having a real hard time with gmirror. I recently bought two new > 400G SATA disks and I want to mirror them. I think I am following the > directions, but I am not sure. > > I generally do the following steps: > > edit /boot/loader.conf to add geom_mirror_load. > reboot into single-user > gmirror label -v -b round-robin gm0 ad4s1 ad6s1 > bsdlabel -w mirror/gm0 > bsdlabel -e mirror/gm0 > newfs mirror/gm0a > > When I attempt to perform the newfs, it generally goes through all of > the backup super blocks and hangs the system at the end of the newfs. > At that point, my only recourse is pushing the reset button. When the > system comes up, GEOM_MIRROR tries to rebuild one of the providers > (usually ad4s1), but never seems to succeed. > > Anyway, the first problem I had was not having geom_mirror loaded. > The only solution seems to be adding the load to /boot/loader.conf. > None of the manual pages or handbook pages says anything about this > except when discusssing making your system disk mirrored. I am not > doing that. > > So, after loading the mirror stuff, I regularly lock up the system by > trying to perform simple activities on the mirror. What do I need to > do differently? > > Here are the relevant dmesg lines: > atapci0: port > 0xa000-0xa007,0x9800-0x9803,0x9400-0x9407,0x9000-0x9003,0x8800-0x880f > mem 0xfba00000-0xfba001ff irq 18 at device 13.0 on pci0 > ata2: on atapci0 > ata3: on atapci0 > ad4: 381554MB at ata2-master SATA150 > ad6: 381554MB at ata3-master SATA150 OK. I did some more testing and found a bug in the SII3512 controller. If I mount just one of the drives just as a single disk and attempt to move a 250G drive over using tar, sometime during the copying the system simply hangs. No errors, no messages, the system stops and my only recourse is jto press the reset button. For that reason, I have decided that the SII3512 is unreliable and will replace it with a Promise controller, basically the cheapest one (TX2). I hope it works better. Thank you everyone for the links to other pages. /Joe