From owner-freebsd-geom@FreeBSD.ORG Fri Dec 5 12:58:39 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF1481065686 for ; Fri, 5 Dec 2008 12:58:39 +0000 (UTC) (envelope-from charlie@clamothe.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id B23808FC1C for ; Fri, 5 Dec 2008 12:58:39 +0000 (UTC) (envelope-from charlie@clamothe.com) Received: by wf-out-1314.google.com with SMTP id 24so4766215wfg.7 for ; Fri, 05 Dec 2008 04:58:38 -0800 (PST) Received: by 10.142.240.9 with SMTP id n9mr2828079wfh.1.1228480443585; Fri, 05 Dec 2008 04:34:03 -0800 (PST) Received: from ?192.168.0.110? (c-71-193-189-222.hsd1.or.comcast.net [71.193.189.222]) by mx.google.com with ESMTPS id 24sm10539558wff.37.2008.12.05.04.33.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 05 Dec 2008 04:33:40 -0800 (PST) Message-Id: <6AEFCB5D-BF7F-49EE-9EDC-E5CD63920508@clamothe.com> From: Charlie La Mothe To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Fri, 5 Dec 2008 04:33:38 -0800 X-Mailer: Apple Mail (2.929.2) Subject: gmirror insert error: Synchronization request failed (error=1) X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2008 12:58:40 -0000 I have three SATA disks: ad6, ad7, and ad8. I just installed a fresh copy of FreeBSD 7.0 amd64 (minimal) on ad6s1a. I setup a gmirror with: gmirror -vb round-robin gm0 /dev/ad6s1a. I edited my fstab, and told my loader.conf to load geom_mirror. The machine boots up fine, however I run into an error when I try to insert an additional component: # gmirror insert gm0 /dev/ad7s1d # tail /var/log/messages Dec 5 04:27:51 monopoly kernel: GEOM_MIRROR: Device gm0: rebuilding provider ad7s1d. Dec 5 04:27:51 monopoly kernel: GEOM_MIRROR: Synchronization request failed (error=1). ad7s1d[WRITE(offset=0, length=131072)] Dec 5 04:27:51 monopoly kernel: GEOM_MIRROR: Device gm0: provider ad7s1d disconnected. Dec 5 04:27:51 monopoly kernel: GEOM_MIRROR: Device gm0: rebuilding provider ad7s1d stopped. # gmirror status Name Status Components mirror/gm0 DEGRADED ad6s1a # gmirror list Geom name: gm0 State: DEGRADED Components: 2 Balance: round-robin Slice: 4096 Flags: NONE GenID: 4 SyncID: 1 ID: 1745622490 Providers: 1. Name: mirror/gm0 Mediasize: 5368708608 (5.0G) Sectorsize: 512 Mode: r1w1e1 Consumers: 1. Name: ad6s1a Mediasize: 5368709120 (5.0G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 4 SyncID: 1 ID: 3963284114 I haven't been able to find any explanation for this error. The same error occurs when I attempt to insert the ad8s1d component. All of the hard drives diagnose to be working. BSD label Reference: Each disk has one slice. Summary: 5GB UFS boot partition 5GB Swap ~950GB unused partition (for zfs / raidz). # bsdlabel /dev/ad6s1 # /dev/ad6s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 10485760 0 4.2BSD 2048 16384 28528 b: 10485760 10485760 swap c: 1953520002 0 unused 0 0 # "raw" part, don't edit d: 1932548482 20971520 4.2BSD 0 0 0 # bsdlabel /dev/ad7s1 # /dev/ad7s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] b: 10485760 10485760 swap c: 1953520002 0 unused 0 0 # "raw" part, don't edit d: 10485760 0 4.2BSD 0 0 0 e: 1932548482 20971520 4.2BSD 0 0 0 # bsdlabel /dev/ad8s1 # /dev/ad8s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] b: 10485760 10485760 swap c: 1953520002 0 unused 0 0 # "raw" part, don't edit d: 10485760 0 4.2BSD 0 0 0 e: 1932548482 20971520 4.2BSD 0 0 0