From owner-freebsd-geom@FreeBSD.ORG Mon Feb 18 21:23:29 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 9E10016A41B for ; Mon, 18 Feb 2008 21:23:29 +0000 (UTC) (envelope-from softsearch@gmail.com) Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.233]) by mx1.freebsd.org (Postfix) with ESMTP id 1163013C44B for ; Mon, 18 Feb 2008 21:23:28 +0000 (UTC) (envelope-from softsearch@gmail.com) Received: by hu-out-0506.google.com with SMTP id 28so1051194hub.8 for ; Mon, 18 Feb 2008 13:23:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:reply-to:organization:x-priority:message-id:to:subject:mime-version:content-type:content-transfer-encoding; bh=jQUQFQy9eaxQwyj9oQ68JaDTegohXEJu/ZYFt1kPwGs=; b=GDnk8f3hCRTJhOAq5SJRUSwKzfHWgF0Ax9v43P4Rn4W/d7BV5F9OEwVkOAPMEIELnbl8dAdi5+Nhgn1kQpx7a5dt3iEaaAmG3W0xifS1eiz5lUyUevjvpx/qJ6RCz4O5W8faLcy0kLB/W5Yt5dEoDnirGD5oAgXZRn5eK+GvF98= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:reply-to:organization:x-priority:message-id:to:subject:mime-version:content-type:content-transfer-encoding; b=JlamrH9Ux4T/G2/1mD4YPJoHATICa4R1nqKdNDsDj1+5frC8iFxS2bCiHcnaX8HniR9MH2c5vTf74b+LFXZFuv1vm6BBFLdR1ujfHSR5lbwl+z8ZalQnx1FRoGDgtyZZxbAllH4baGZDWYYmTC8hdU4NqB9fllalzDy/tEk0C6Y= Received: by 10.82.181.7 with SMTP id d7mr12694382buf.8.1203369806046; Mon, 18 Feb 2008 13:23:26 -0800 (PST) Received: from ?81.200.127.6? ( [81.200.127.6]) by mx.google.com with ESMTPS id c24sm12876559ika.10.2008.02.18.13.23.23 (version=SSLv3 cipher=OTHER); Mon, 18 Feb 2008 13:23:24 -0800 (PST) Date: Tue, 19 Feb 2008 00:10:52 +0300 From: Michael Monashev Organization: SoftSearch.ru X-Priority: 3 (Normal) Message-ID: <15910342939.20080219001052@gmail.com> To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Synchronization request failed (error=1) X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael Monashev List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2008 21:23:29 -0000 Hi. I did: >gmirror forget root >gmirror list root Geom name: root State: COMPLETE Components: 1 Balance: split Slice: 4096 Flags: NONE GenID: 7 SyncID: 1 ID: 1926374852 Providers: 1. Name: mirror/root Mediasize: 134217216 (128M) Sectorsize: 512 Mode: r1w1e1 Consumers: 1. Name: da1s1a Mediasize: 134217728 (128M) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 7 SyncID: 1 ID: 600760959 >gmirror insert root /dev/da0s1a and got nothing: >gmirror list root Geom name: root State: COMPLETE Components: 1 Balance: split Slice: 4096 Flags: NONE GenID: 7 SyncID: 1 ID: 1926374852 Providers: 1. Name: mirror/root Mediasize: 134217216 (128M) Sectorsize: 512 Mode: r1w1e1 Consumers: 1. Name: da1s1a Mediasize: 134217728 (128M) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 7 SyncID: 1 ID: 600760959 and some errors in /var/log/messages: Feb 17 18:17:03 host2 kernel: GEOM_MIRROR: Device root: provider da0s1a detected. Feb 17 18:17:03 host2 kernel: GEOM_MIRROR: Device root: rebuilding provider da0s1a. Feb 17 18:17:05 host2 kernel: GEOM_MIRROR: Synchronization request failed (error=1). da0s1a[WRITE(offset=0, length=131072)] Feb 17 18:17:05 host2 kernel: GEOM_MIRROR: Device root: provider da0s1a disconnected. Feb 17 18:17:05 host2 kernel: GEOM_MIRROR: Device root: rebuilding provider da0s1a stopped. How to correct this error and insert da0s1a into the root? >bsdlabel /dev/da0s1a # /dev/da0s1a: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 262144 63 4.2BSD 2048 16384 16392 b: 33554432 262207 swap c: 976768002 63 unused 0 0 # "raw" part, don't edit d: 524288 33816639 4.2BSD 2048 16384 32776 e: 41943040 34340927 4.2BSD 2048 16384 28528 f: 4194304 76283967 4.2BSD 2048 16384 28528 g: 41943040 80478271 4.2BSD 2048 16384 28528 h: 854346754 122421311 4.2BSD 2048 16384 28528 partition a: partition extends past end of unit partition b: offset past end of unit partition b: partition extends past end of unit partition c: partition extends past end of unit bsdlabel: partition c doesn't start at 0! bsdlabel: partition c doesn't cover the whole unit! bsdlabel: An incorrect partition c may cause problems for standard system utilities partition d: offset past end of unit partition d: partition extends past end of unit partition e: offset past end of unit partition e: partition extends past end of unit partition f: offset past end of unit partition f: partition extends past end of unit partition g: offset past end of unit partition g: partition extends past end of unit partition h: offset past end of unit partition h: partition extends past end of unit >bsdlabel /dev/da1s1a # /dev/da1s1a: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 262144 63 4.2BSD 0 0 0 c: 46781217 63 unused 0 0 # "raw" part, don't edit d: 524288 262207 4.2BSD 0 0 0 e: 41800481 4980799 4.2BSD 0 0 0 f: 4194304 786495 4.2BSD 0 0 0 partition a: partition extends past end of unit partition c: partition extends past end of unit bsdlabel: partition c doesn't start at 0! bsdlabel: partition c doesn't cover the whole unit! bsdlabel: An incorrect partition c may cause problems for standard system utilities partition d: offset past end of unit partition d: partition extends past end of unit partition e: offset past end of unit partition e: partition extends past end of unit partition f: offset past end of unit partition f: partition extends past end of unit -- Michael