From owner-freebsd-questions@FreeBSD.ORG Tue Mar 31 13:12:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DF8A1065679; Tue, 31 Mar 2009 13:12:42 +0000 (UTC) (envelope-from jmiscaro@gmail.com) Received: from mail-qy0-f134.google.com (mail-qy0-f134.google.com [209.85.221.134]) by mx1.freebsd.org (Postfix) with ESMTP id 904938FC1B; Tue, 31 Mar 2009 13:12:41 +0000 (UTC) (envelope-from jmiscaro@gmail.com) Received: by qyk40 with SMTP id 40so4750078qyk.3 for ; Tue, 31 Mar 2009 06:12:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=f6wenir3NxlcEiQbGHW0cd25y9RJbUqPXayb0LqR/Sw=; b=hc+PQ7ostdlJM0F3X9DdtZMBKs6NUw0xC/TNtYBsopLfJydtO5NWKqTnqzRHzaeLUs pHjXvO5X4TEgSThZ0NTT4mOrezmrul91x4brq4nvUuwq/R8466ndnH99zlQYvAWLuYxc 0D8ymVComx9r55FAfmBUjc+0/QNWsUYmHS2UI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xs2+IsJtdksAQ6zj2lgCxvd6sDeFI7Wf7U+phBuebpIB6BIEOmJJ1E2L9O+d3h1t0i DUER8cL5mRKO4k1KQp9xPNJwFy8gvrsgzRUo3xNkChDrtOgQeLlHJsVs+jCeeU25Ce3S cuaXZWsmMvPydUMQYuMLRuT0kf5Tx52VAaTow= MIME-Version: 1.0 Received: by 10.229.96.16 with SMTP id f16mr2286163qcn.85.1238505160963; Tue, 31 Mar 2009 06:12:40 -0700 (PDT) In-Reply-To: References: Date: Tue, 31 Mar 2009 09:12:40 -0400 Message-ID: From: Juan Miscaro To: Ivan Voras Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Recovering a GEOM RAID0 array X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 13:12:44 -0000 2009/3/31 Ivan Voras : > Ivan Voras wrote: > >> If "gstripe list" doesn't mention ad3, you need to establish what >> happened to metadata on ad3. Try extracting the last sector from ad3 by >> hand (using dd) into a file and inspect it (send output of "hd filename"). > > I just noticed there could be an easier way to do it: use "gstripe dump > ad3" - it will write out its metadata. Use the manual (dd) approach if > this doesn't work. > > # gstripe dump ad3 Can't read metadata from ad3: Invalid argument. Not fully done. # gstripe dump ad1 Metadata on ad1: Magic string: GEOM::STRIPE Metadata version: 3 Device name: st0 Device ID: 3091204740 Disk number: 0 Total number of disks: 2 Stripe size: 4096 Hardcoded provider: