From owner-freebsd-stable@FreeBSD.ORG Sun Jun 6 05:25:53 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4F25106566B for ; Sun, 6 Jun 2010 05:25:53 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from k7.mavetju.org (ppp113-58.static.internode.on.net [150.101.113.58]) by mx1.freebsd.org (Postfix) with ESMTP id 5AE648FC0A for ; Sun, 6 Jun 2010 05:25:52 +0000 (UTC) Received: by k7.mavetju.org (Postfix, from userid 1001) id B15C945211; Sun, 6 Jun 2010 15:25:09 +1000 (EST) Date: Sun, 6 Jun 2010 15:25:09 +1000 From: Edwin Groothuis To: freebsd-stable@freebsd.org Message-ID: <20100606052509.GA4744@mavetju.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: gmirror refused to connect second disk after a reboot 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: Sun, 06 Jun 2010 05:25:53 -0000 For two years I've had a happy gmirror RAID1 system. And a week or three ago I was found a degraded system due to a broken disk. I tried to replace the disk, first with one three sectors too small which didn't want to be entered in the array (as excepted), then with a same brand/type one which I added without a problem. Rebuilding, everything okay. [~] edwin@k7>sudo fdisk -s /dev/ad1 /dev/ad1: 1938021 cyl 16 hd 63 sec Part Start Size Type Flags 1: 63 1953520002 0xa5 0x00 [~] edwin@k7>sudo fdisk -s /dev/ad3 /dev/ad3: 1938021 cyl 16 hd 63 sec Part Start Size Type Flags 1: 63 1953520002 0xa5 0x80 [~] edwin@k7>gmirror status Name Status Components mirror/gm0 COMPLETE ad1 ad3 Until after a reboot, then GEOM complains about: GEOM: ad3s1: geometry does not match label (255h,63s != 16h,63s). GEOM_MIRROR: Force device gm0 start due to timeout. GEOM_MIRROR: Device mirror/gm0 launched (1/2). [~] edwin@k7>gmirror status Name Status Components mirror/gm0 DEGRADED ad1 Forgetting and re-inserting the ad3 does attach it again and rebuild everything, until the next reboot. Booting from ad3 instead of from ad1 results in the same result. This device is running 8.0-STABLE r204385. Who has any idea what is going wrong here and which smart commands I can to overcome this silly issues or are any clues which commands I should run next to get more information? Thanks heaps, Edwin -- Edwin Groothuis Website: http://www.mavetju.org/ edwin@mavetju.org Weblog: http://www.mavetju.org/weblog/