From owner-freebsd-geom@FreeBSD.ORG Wed May 10 18:28:57 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1D8E16A5D5 for ; Wed, 10 May 2006 18:28:57 +0000 (UTC) (envelope-from dmehler26@woh.rr.com) Received: from ms-smtp-03.ohiordc.rr.com (ms-smtp-03.ohiordc.rr.com [65.24.5.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 676D343D68 for ; Wed, 10 May 2006 18:28:57 +0000 (GMT) (envelope-from dmehler26@woh.rr.com) Received: from satellite (cpe-65-31-41-159.woh.res.rr.com [65.31.41.159]) by ms-smtp-03.ohiordc.rr.com (8.13.6/8.13.6) with SMTP id k4AISt92013707 for ; Wed, 10 May 2006 14:28:56 -0400 (EDT) Message-ID: <00ac01c6745e$1e8ea310$0200a8c0@satellite> From: "Dave" To: Date: Wed, 10 May 2006 14:18:20 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: gmirror, not synchronizing drives on freebsd6 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dave List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 18:29:01 -0000 Hello, I've got a 6.0 box running gmirror as raid1. It uses gm0s1 and the two identical 40-gb ide drives are ad0 and ad1. I'm getting an error from smartd in smartmontools, installed from ports, about 5 unrecoverable sectors in drive ad0. I then noticed in my dmesg output that ad0 wasn't coming up, ad1 was. I then did a gmirror list and got only ad1 in the output, my raid array was in state dirty. So i tried to synchronize the two drives and was told unrecoverable error. I am now starting to think ad0 is going bad. I powered down the box and unplugged ad1 from the system and booted ad0 only. It booted, but the data was not up to date at all, i could tell from the perl version and some other packages i've since uninstalled. I then powered down and unplugged ad0 and reconnected ad1 and booted. I don't get any error, just a blinking cursor, which tells me that ad1 is actually being booted off ad0. Plug them both back in and ad1 is once again booting. This tells me that there might not be an mbr on the second drive, so ad0 has to boot it when it can't boot itself. What i'm wondering are: 1. Is there a way without destroying my setup to put an mbr on ad1, i do not want to loose data, so that unplugging ad0 and ad1 will boot 2. I'd like to confirm that ad0 is indeed going bad, and if it is replace it. 3. Once the status of these drives is verified i'd like to replace it with another 40 and sync up, can i do this without partitioning, just issue the gmirror command and will it copy partitions, slices, and data over to the blank drive Thanks a lot. Dave.