From owner-freebsd-questions@FreeBSD.ORG Wed Apr 9 01:25:48 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 013E6CBE for ; Wed, 9 Apr 2014 01:25:48 +0000 (UTC) Received: from mail-pb0-x22a.google.com (mail-pb0-x22a.google.com [IPv6:2607:f8b0:400e:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CC2F413CC for ; Wed, 9 Apr 2014 01:25:47 +0000 (UTC) Received: by mail-pb0-f42.google.com with SMTP id rr13so1808807pbb.29 for ; Tue, 08 Apr 2014 18:25:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=c6FZqy7w1JqkbOOoZR1BjsN6mDSTu5u+4T5fAtWDNE8=; b=Ub53H+Tz8yK08bDuAFLbn6aVuDYXPUwQCq7OvMJsOV+kly9WKXo5JvFG+zx27aZze1 lfdOBCQSEfIG9WkMvkwOASkCpAWeVletyxLJGhWhImbPw6lJa2KfwSsN50KQp9cIPWbR swhQGrAySK9EzcOiAabeD7o9NvKDlpRtFUflCs86vEXSee22JFxZQG8M35/YwpifXO37 KcgPqMSB44iZmHAv6ghM+GCL8XLZ5rWB3I2MYFEQV4u4WJwURdAwgDxNIEctOBr7ii2p l9++kxk6V7VCe8JbTKrvoxnNKjN0HWQlEDGOgAnkqaKkRtJA1BzuKlFw8xed/vavPMjH ZFnw== MIME-Version: 1.0 X-Received: by 10.68.196.168 with SMTP id in8mr8449639pbc.132.1397006747405; Tue, 08 Apr 2014 18:25:47 -0700 (PDT) Received: by 10.70.55.169 with HTTP; Tue, 8 Apr 2014 18:25:47 -0700 (PDT) In-Reply-To: <5344484C.9000504@fjl.co.uk> References: <5344484C.9000504@fjl.co.uk> Date: Tue, 8 Apr 2014 20:25:47 -0500 Message-ID: Subject: Re: Adding second drive to ZFS mirror - FreeBSD, atacontrol, gptid and documentation From: Adam Vande More To: Frank Leonhardt Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2014 01:25:48 -0000 On Tue, Apr 8, 2014 at 2:04 PM, Frank Leonhardt wrote: > Background: I ordered two identical drives with a view to installing > FreeBSD 10 on a ZFS mirror. One drive was DOA so I sent it back and pressed > on. It was replaced with an identical drive. Now I come to creating a > mirrored ZFS root post-install. > > The new drive is there and appears in the gptid directory (I think). I > have: > > # ls -l /dev/gptid > crw-r----- 1 root operator 0x5d Mar 20 11:24 b20a8b87-9419-11e3-9063- > 001fc6b111fc > crw-r----- 1 root operator 0x61 Mar 18 16:50 b251371d-9419-11e3-9063- > 001fc6b111fc > > I'm a little hazy about how I tie this up. I definitely have /dev/ad4p? > and /dev/ad6 when I look. > > But this get's weird. atacontrol is missing - we're supposed to use > camcontrol now, right? Okay, it's implied as being there in the release > notes, but there's no man page for it and camcontrol produces: > What do you mean there is no man page for it? All you've done is show the size of your disk. Since you're trying to mirror partitions don't you think you should give us the mappings to those devices and their respective sizes? -- Adam